Lines Matching defs:Specifier
133 // table. It also has the "specifier" form of -Werror=foo and -Werror-foo.
135 StringRef Specifier;
136 if (Opt.size() > 5) { // Specifier must be present.
143 Specifier = Opt.substr(6);
146 if (Specifier.empty()) {
153 // Set the warning as error flag for this specifier.
154 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
155 } else if (DiagIDs->getDiagnosticsInGroup(Flavor, Specifier, _Diags)) {
156 EmitUnknownDiagWarning(Diags, Flavor, "-Werror=", Specifier);
163 StringRef Specifier;
171 Specifier = Opt.substr(13);
174 if (Specifier.empty()) {
181 // Set the error as fatal flag for this specifier.
182 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
183 } else if (DiagIDs->getDiagnosticsInGroup(Flavor, Specifier, _Diags)) {
184 EmitUnknownDiagWarning(Diags, Flavor, "-Wfatal-errors=", Specifier);