Home | History | Annotate | Download | only in Frontend

Lines Matching refs:Specifier

126       // table. It also has the "specifier" form of -Werror=foo and -Werror-foo.
128 StringRef Specifier;
129 if (Opt.size() > 5) { // Specifier must be present.
136 Specifier = Opt.substr(6);
139 if (Specifier.empty()) {
146 // Set the warning as error flag for this specifier.
147 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
148 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
149 EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive);
156 StringRef Specifier;
164 Specifier = Opt.substr(13);
167 if (Specifier.empty()) {
174 // Set the error as fatal flag for this specifier.
175 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
176 } else if (DiagIDs->getDiagnosticsInGroup(Specifier, _Diags)) {
177 EmitUnknownDiagWarning(Diags, "-Wfatal-errors=", Specifier,