reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
234 if (PP.getCodeCompletionHandler()) 235 PP.getCodeCompletionHandler()->CodeCompletePreprocessorExpression(); 236 PP.setCodeCompletionReached(); 237 PP.LexNonComment(PeekTok); 248 return EvaluateDefined(Result, PeekTok, DT, ValueLive, PP); 255 PP.Diag(PeekTok, diag::warn_pp_undef_identifier) << II; 261 PP.LexNonComment(PeekTok); 265 PP.Diag(PeekTok, diag::err_pp_expr_bad_token_start_expr); 270 PP.Diag(PeekTok, diag::err_pp_expected_value_in_expr); 275 StringRef Spelling = PP.getSpelling(PeekTok, IntegerBuffer, 280 NumericLiteralParser Literal(Spelling, PeekTok.getLocation(), PP); 285 PP.Diag(PeekTok, diag::err_pp_illegal_floating_literal); 292 PP.Diag(PeekTok, diag::err_pp_invalid_udl) << /*integer*/1; 295 if (!PP.getLangOpts().C99 && Literal.isLongLong) { 296 if (PP.getLangOpts().CPlusPlus) 297 PP.Diag(PeekTok, 298 PP.getLangOpts().CPlusPlus11 ? 301 PP.Diag(PeekTok, diag::ext_c99_longlong); 308 PP.Diag(PeekTok, diag::err_integer_literal_too_large) 324 PP.Diag(PeekTok, diag::ext_integer_literal_too_large_for_signed); 331 PP.LexNonComment(PeekTok); 341 PP.Diag(PeekTok, diag::err_pp_invalid_udl) << /*character*/0; 345 StringRef ThisTok = PP.getSpelling(PeekTok, CharBuffer, &CharInvalid); 350 PeekTok.getLocation(), PP, PeekTok.getKind()); 355 const TargetInfo &TI = PP.getTargetInfo(); 376 Val.setIsUnsigned(!PP.getLangOpts().CharIsSigned); 388 PP.LexNonComment(PeekTok); 393 PP.LexNonComment(PeekTok); // Eat the (. 396 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 405 DT.IncludedUndefinedIds, PP)) 409 PP.Diag(PeekTok.getLocation(), diag::err_pp_expected_rparen) 411 PP.Diag(Start, diag::note_matching) << tok::l_paren; 418 PP.LexNonComment(PeekTok); // Eat the ). 424 PP.LexNonComment(PeekTok); 425 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 432 PP.LexNonComment(PeekTok); 433 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 445 PP.Diag(Loc, diag::warn_pp_expr_overflow) << Result.getRange(); 453 PP.LexNonComment(PeekTok); 454 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 466 PP.LexNonComment(PeekTok); 467 if (EvaluateValue(Result, PeekTok, DT, ValueLive, PP)) return true; 486 PP.LexNonComment(PeekTok);