diff options
| author | Renato Golin <renato.golin@linaro.org> | 2016-05-14 14:37:11 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2016-05-14 14:37:11 +0000 |
| commit | f4917d35c91692587a00a3cc5abd68fb983e722a (patch) | |
| tree | 3517c2fcbb48dd00ec52117de663ff6e815f56bb /llvm/lib | |
| parent | 2c8500996d45d24f91a80b863d0fcc7dcec5908b (diff) | |
| download | bcm5719-llvm-f4917d35c91692587a00a3cc5abd68fb983e722a.tar.gz bcm5719-llvm-f4917d35c91692587a00a3cc5abd68fb983e722a.zip | |
Revert "[llc] New diagnostic handler"
This reverts commit r269563. Even though now it passes all LLDB bots
after a local fix, there's a new buildbot it fails with tests that we
hadn't seen locally:
http://lab.llvm.org:8011/builders/clang-x86_64-linux-selfhost-modules/builds/15647
Adding those tests to the list to investigate.
llvm-svn: 269568
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/IR/LLVMContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp index 9f8680cf6c0..9369cbd6a08 100644 --- a/llvm/lib/IR/LLVMContext.cpp +++ b/llvm/lib/IR/LLVMContext.cpp @@ -231,8 +231,7 @@ static bool isDiagnosticEnabled(const DiagnosticInfo &DI) { return true; } -const char * -LLVMContext::getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { +static const char *getDiagnosticMessagePrefix(DiagnosticSeverity Severity) { switch (Severity) { case DS_Error: return "error"; |

