Adam Nemet
|
01104aee1a
|
Add DK_Remark to SMDiagnostic
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.
Differential Revision: https://reviews.llvm.org/D38865
llvm-svn: 315642
|
2017-10-12 23:56:02 +00:00 |
Rafael Espindola
|
3560ff2c1f
|
Return a std::unique_ptr when creating a new MemoryBuffer.
llvm-svn: 216583
|
2014-08-27 20:03:13 +00:00 |
David Blaikie
|
1961f14cf9
|
Explicitly pass ownership of the MemoryBuffer to AddNewSourceBuffer using std::unique_ptr
llvm-svn: 216223
|
2014-08-21 20:44:56 +00:00 |
Dmitri Gribenko
|
78fe2ba3ba
|
SourceMgr diagnotics printing: fix a bug where printing a fixit for a source
range that includes a tab character will cause out-of-bounds access to the
fixit string.
llvm-svn: 191563
|
2013-09-27 21:24:36 +00:00 |
Dmitri Gribenko
|
8f944628ac
|
Make SourceMgr::PrintMessage() testable and add unit tests
llvm-svn: 191558
|
2013-09-27 21:09:25 +00:00 |