Lines Matching refs:WarningName
984 std::string WarningName;
985 if (!PP.FinishLexStringLiteral(Tok, WarningName, "pragma diagnostic",
994 if (WarningName.size() < 3 || WarningName[0] != '-' ||
995 (WarningName[1] != 'W' && WarningName[1] != 'R')) {
1001 WarningName[1] == 'W' ? diag::Flavor::WarningOrError
1003 WarningName.substr(2), SV, DiagLoc))
1005 << WarningName;
1007 Callbacks->PragmaDiagnostic(DiagLoc, Namespace, SV, WarningName);