reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
 3394   if (Tok.getLength() == 1) {
 3395     const char Val = PP.getSpellingOfSingleCharacterNumericConstant(Tok);
 3396     return ActOnIntegerConstant(Tok.getLocation(), Val-'0');
 3404   SpellingBuffer.resize(Tok.getLength() + 1);
 3408   StringRef TokSpelling = PP.getSpelling(Tok, SpellingBuffer, &Invalid);
 3412   NumericLiteralParser Literal(TokSpelling, Tok.getLocation(), PP);
 3420       getUDSuffixLoc(*this, Tok.getLocation(), Literal.getUDSuffixOffset());
 3444     SourceLocation TokLoc = Tok.getLocation();
 3462         Lit = BuildFloatingLiteral(*this, Literal, CookedTy, Tok.getLocation());
 3466           Diag(Tok.getLocation(), diag::err_integer_literal_too_large)
 3469                                      Tok.getLocation());
 3552       Diag(Tok.getLocation(), diag::err_too_large_for_fixed_point);
 3555                                               Tok.getLocation(), scale);
 3562         Diag(Tok.getLocation(), diag::err_half_const_requires_fp16);
 3576     Res = BuildFloatingLiteral(*this, Literal, Ty, Tok.getLocation());
 3587         Diag(Tok.getLocation(), diag::warn_double_const_requires_fp64);
 3599         Diag(Tok.getLocation(),
 3603         Diag(Tok.getLocation(), diag::ext_c99_longlong);
 3612       Diag(Tok.getLocation(), diag::err_integer_literal_too_large)
 3671             Diag(Tok.getLocation(),
 3707         Diag(Tok.getLocation(), diag::ext_integer_literal_too_large_for_signed);
 3715     Res = IntegerLiteral::Create(Context, ResultVal, Ty, Tok.getLocation());
 3723     Diag(Tok.getLocation(), diag::ext_imaginary_constant);