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 | 7e38263edce420af37706465668269df519e6e94 (patch) | |
tree | 2157823a34e5bf578b9da76d065b877c1cb0375a /lib/IR/LLVMContext.cpp | |
parent | 92a36504faa5fbc106be86685f940947a510dd6a (diff) |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@269568 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/LLVMContext.cpp')
-rw-r--r-- | lib/IR/LLVMContext.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/IR/LLVMContext.cpp b/lib/IR/LLVMContext.cpp index 9f8680cf6c0..9369cbd6a08 100644 --- a/lib/IR/LLVMContext.cpp +++ b/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"; |