diff options
| -rw-r--r-- | clang/Lex/PPExpressions.cpp | 2 | ||||
| -rw-r--r-- | clang/Sema/SemaExpr.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/Lex/PPExpressions.cpp b/clang/Lex/PPExpressions.cpp index 6793a0123ca..48ec52af8cb 100644 --- a/clang/Lex/PPExpressions.cpp +++ b/clang/Lex/PPExpressions.cpp @@ -169,7 +169,7 @@ static bool EvaluateValue(llvm::APSInt &Result, Token &PeekTok, // long long is a C99 feature. if (!PP.getLangOptions().C99 && !PP.getLangOptions().CPlusPlus0x - && Literal.isLongLong) + && Literal.isLongLong) PP.Diag(PeekTok, diag::ext_longlong); // Parse the integer literal into Result. diff --git a/clang/Sema/SemaExpr.cpp b/clang/Sema/SemaExpr.cpp index 272fc6f93db..0747bbc8b1c 100644 --- a/clang/Sema/SemaExpr.cpp +++ b/clang/Sema/SemaExpr.cpp @@ -158,7 +158,7 @@ Action::ExprResult Sema::ParseNumericConstant(const Token &Tok) { // long long is a C99 feature. if (!getLangOptions().C99 && !getLangOptions().CPlusPlus0x && - Literal.isLongLong) + Literal.isLongLong) Diag(Tok.getLocation(), diag::ext_longlong); // Get the value in the widest-possible width. |

