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

References

tools/clang/lib/Lex/Pragma.cpp
 1264     SourceLocation DiagLoc = Tok.getLocation();
 1267     PP.Lex(Tok);
 1268     if (Tok.isNot(tok::l_paren)) {
 1269       PP.Diag(Tok, diag::warn_pragma_warning_expected) << "(";
 1273     PP.Lex(Tok);
 1274     IdentifierInfo *II = Tok.getIdentifierInfo();
 1279       PP.Lex(Tok);
 1280       if (Tok.is(tok::comma)) {
 1281         PP.Lex(Tok);
 1283         if (Tok.is(tok::numeric_constant) &&
 1284             PP.parseSimpleIntegerLiteral(Tok, Value))
 1287           PP.Diag(Tok, diag::warn_pragma_warning_push_level);
 1295       PP.Lex(Tok);
 1302         II = Tok.getIdentifierInfo();
 1303         if (!II && !Tok.is(tok::numeric_constant)) {
 1304           PP.Diag(Tok, diag::warn_pragma_warning_spec_invalid);
 1321             PP.Lex(Tok);
 1325           Specifier = PP.getSpelling(Tok, SpecifierBuf);
 1326           if (PP.parseSimpleIntegerLiteral(Tok, Value)) {
 1334           PP.Diag(Tok, diag::warn_pragma_warning_spec_invalid);
 1337         if (Tok.isNot(tok::colon)) {
 1338           PP.Diag(Tok, diag::warn_pragma_warning_expected) << ":";
 1344         PP.Lex(Tok);
 1345         while (Tok.is(tok::numeric_constant)) {
 1347           if (!PP.parseSimpleIntegerLiteral(Tok, Value) || Value == 0 ||
 1349             PP.Diag(Tok, diag::warn_pragma_warning_expected_number);
 1358         if (Tok.isNot(tok::semi))
 1360         PP.Lex(Tok);
 1364     if (Tok.isNot(tok::r_paren)) {
 1365       PP.Diag(Tok, diag::warn_pragma_warning_expected) << ")";
 1369     PP.Lex(Tok);
 1370     if (Tok.isNot(tok::eod))
 1371       PP.Diag(Tok, diag::ext_pp_extra_tokens_at_eol) << "pragma warning";