Searched refs:WarningName (Results 1 – 4 of 4) 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()
|
/external/llvm-project/clang/lib/Lex/ |
D | Pragma.cpp | 1218 std::string WarningName; in HandlePragma() local 1219 if (!PP.FinishLexStringLiteral(Tok, WarningName, "pragma diagnostic", in HandlePragma() 1228 if (WarningName.size() < 3 || WarningName[0] != '-' || in HandlePragma() 1229 (WarningName[1] != 'W' && WarningName[1] != 'R')) { in HandlePragma() 1234 diag::Flavor Flavor = WarningName[1] == 'W' ? diag::Flavor::WarningOrError in HandlePragma() 1236 StringRef Group = StringRef(WarningName).substr(2); in HandlePragma() 1248 << WarningName; in HandlePragma() 1250 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName); in HandlePragma()
|
/external/llvm-project/clang-tools-extra/docs/ |
D | pp-trace.rst | 485 Str: WarningName
|