Lines Matching defs:ShowColors
336 bool ShowColors) const {
349 Diagnostic.print(nullptr, OS, ShowColors);
355 bool ShowColors) const {
356 PrintMessage(OS, GetMessage(Loc, Kind, Msg, Ranges, FixIts), ShowColors);
361 ArrayRef<SMFixIt> FixIts, bool ShowColors) const {
362 PrintMessage(errs(), Loc, Kind, Msg, Ranges, FixIts, ShowColors);
484 void SMDiagnostic::print(const char *ProgName, raw_ostream &OS, bool ShowColors,
486 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable;
512 WithColor::error(OS, "", !ShowColors);
515 WithColor::warning(OS, "", !ShowColors);
518 WithColor::note(OS, "", !ShowColors);
521 WithColor::remark(OS, "", !ShowColors);
570 ColorMode Mode = ShowColors ? ColorMode::Auto : ColorMode::Disable;