Searched refs:WarningName (Results 1 – 2 of 2) sorted by relevance
/external/clang/lib/Lex/ |
D | Pragma.cpp | 1011 std::string WarningName; in HandlePragma() local 1012 if (!PP.FinishLexStringLiteral(Tok, WarningName, "pragma diagnostic", in HandlePragma() 1021 if (WarningName.size() < 3 || WarningName[0] != '-' || in HandlePragma() 1022 (WarningName[1] != 'W' && WarningName[1] != 'R')) { in HandlePragma() 1027 diag::Flavor Flavor = WarningName[1] == 'W' ? diag::Flavor::WarningOrError in HandlePragma() 1029 StringRef Group = StringRef(WarningName).substr(2); in HandlePragma() 1041 << WarningName; in HandlePragma() 1043 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma()
|
D | PPMacroExpansion.cpp | 1766 std::string WarningName; in ExpandBuiltinMacro() local 1770 if (!FinishLexStringLiteral(Tok, WarningName, "'__has_warning'", in ExpandBuiltinMacro() 1776 if (WarningName.size() < 3 || WarningName[0] != '-' || in ExpandBuiltinMacro() 1777 WarningName[1] != 'W') { in ExpandBuiltinMacro() 1789 WarningName.substr(2), Diags); in ExpandBuiltinMacro()
|