Lines Matching refs:isPositive
38 bool isPositive) {
41 Diags.Report(isPositive? diag::warn_unknown_warning_option_suggest :
45 Diags.Report(isPositive? diag::warn_unknown_warning_option :
93 bool isPositive = true;
95 isPositive = false;
101 diag::Mapping Mapping = isPositive ? diag::MAP_WARNING : diag::MAP_IGNORE;
107 Diags.setSuppressSystemWarnings(!isPositive);
115 if (isPositive) {
141 Diags.setWarningsAsErrors(isPositive);
147 Diags.setDiagnosticGroupWarningAsError(Specifier, isPositive);
149 EmitUnknownDiagWarning(Diags, "-Werror=", Specifier, isPositive);
169 Diags.setErrorsAsFatal(isPositive);
175 Diags.setDiagnosticGroupErrorAsFatal(Specifier, isPositive);
178 isPositive);
185 EmitUnknownDiagWarning(Diags, "-W", Opt, isPositive);