Swift uses SMDiagnostic for diagnostic messages. For
https://github.com/apple/swift/pull/12294, we need remark support.
I picked the color that clang uses to display them.
Paths
| Differential D38865
Add DK_Remark to SMDiagnostic ClosedPublic Authored by anemet on Oct 12 2017, 4:48 PM.
Details Summary Swift uses SMDiagnostic for diagnostic messages. For I picked the color that clang uses to display them.
Diff Detail
Event TimelineComment Actions Seems reasonable to me. I don't know anything about the MIR parser's use of diagnostics, though. Comment Actions
Currently it does not emit remarks and we can introduce remarks as needed. Thanks for the review! Closed by commit rL315642: Add DK_Remark to SMDiagnostic (authored by anemet). · Explain WhyOct 12 2017, 4:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 118862 llvm/trunk/include/llvm/Support/SourceMgr.h
llvm/trunk/lib/CodeGen/MIRParser/MIRParser.cpp
llvm/trunk/lib/Support/SourceMgr.cpp
llvm/trunk/unittests/Support/SourceMgrTest.cpp
|