Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/clang/lib/AST/TemplateBase.cpp b/clang/lib/AST/TemplateBase.cpp
- index 0d2e54d8d9a..17f652db4b5 100644
- --- a/clang/lib/AST/TemplateBase.cpp
- +++ b/clang/lib/AST/TemplateBase.cpp
- @@ -78,9 +78,9 @@ static void printIntegral(const TemplateArgument &TemplArg,
- } else {
- Out << Val;
- if (T->isBuiltinType()) {
- - if (Val.isUnsigned())
- + if (T->isUnsignedIntegerType())
- Out << "U";
- - if (Val.getBitWidth() == 64)
- + if (T->isIntegerType() && Val.getBitWidth() == 64)
- Out << "LL";
- }
- }
Add Comment
Please, Sign In to add comment