Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Specifier

138       // table. It also has the "specifier" form of -Werror=foo and -Werror-foo.
140 StringRef Specifier;
141 if (Opt.size() > 5) { // Specifier must be present.
148 Specifier = Opt.substr(6);
151 if (Specifier.empty()) {
158 // Set the warning as error flag for this specifier.
159 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
160 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
161 EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive);
168 StringRef Specifier;
176 Specifier = Opt.substr(13);
179 if (Specifier.empty()) {
186 // Set the error as fatal flag for this specifier.
187 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
188 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
189 EmitUnknownDiagWarning(Diags, "-Wfatal-errors=", Specifier,