Lines Matching defs:Specifier
137 // table. It also has the "specifier" form of -Werror=foo and -Werror-foo.
139 StringRef Specifier;
140 if (Opt.size() > 5) { // Specifier must be present.
147 Specifier = Opt.substr(6);
150 if (Specifier.empty()) {
157 // Set the warning as error flag for this specifier.
158 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
159 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
160 EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive);
167 StringRef Specifier;
175 Specifier = Opt.substr(13);
178 if (Specifier.empty()) {
185 // Set the error as fatal flag for this specifier.
186 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
187 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
188 EmitUnknownDiagWarning(Diags, "-Wfatal-errors=", Specifier,