Lines Matching defs:isPositive
38 bool isPositive) {
41 Diags.Report(isPositive? diag::warn_unknown_warning_option_suggest :
45 Diags.Report(isPositive? diag::warn_unknown_warning_option :
104 bool isPositive = true;
106 isPositive = false;
112 diag::Mapping Mapping = isPositive ? diag::MAP_WARNING : diag::MAP_IGNORE;
118 Diags.setSuppressSystemWarnings(!isPositive);
126 if (isPositive) {
152 Diags.setWarningsAsErrors(isPositive);
158 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
160 EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive);
180 Diags.setErrorsAsFatal(isPositive);
186 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
189 isPositive);
196 EmitUnknownDiagWarning(Diags, isPositive ? "-W" : "-Wno-", Opt,
197 isPositive);