parent
ac582c5ecb
commit
4a1ee0562d
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue