From bdabc2f19ffb9e20600dad6e8a300842a7bda50e Mon Sep 17 00:00:00 2001 From: patrick Date: Fri, 6 Apr 2018 14:26:03 +0000 Subject: Import LLVM 6.0.1 release including clang, lld and lldb. "where is the kaboom?" deraadt@ --- gnu/llvm/lib/Support/SourceMgr.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu/llvm/lib/Support/SourceMgr.cpp') diff --git a/gnu/llvm/lib/Support/SourceMgr.cpp b/gnu/llvm/lib/Support/SourceMgr.cpp index b0609d4fe04..a8f6208a558 100644 --- a/gnu/llvm/lib/Support/SourceMgr.cpp +++ b/gnu/llvm/lib/Support/SourceMgr.cpp @@ -384,6 +384,11 @@ void SMDiagnostic::print(const char *ProgName, raw_ostream &S, bool ShowColors, S.changeColor(raw_ostream::BLACK, true); S << "note: "; break; + case SourceMgr::DK_Remark: + if (ShowColors) + S.changeColor(raw_ostream::BLUE, true); + S << "remark: "; + break; } if (ShowColors) { -- cgit v1.2.3-59-g8ed1b