aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/LLVMContext.cpp
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2016-05-14 14:37:11 +0000
committerRenato Golin <renato.golin@linaro.org>2016-05-14 14:37:11 +0000
commitf4917d35c91692587a00a3cc5abd68fb983e722a (patch)
tree3517c2fcbb48dd00ec52117de663ff6e815f56bb /llvm/lib/IR/LLVMContext.cpp
parent2c8500996d45d24f91a80b863d0fcc7dcec5908b (diff)
downloadllvm-f4917d35c91692587a00a3cc5abd68fb983e722a.zip
llvm-f4917d35c91692587a00a3cc5abd68fb983e722a.tar.gz
llvm-f4917d35c91692587a00a3cc5abd68fb983e722a.tar.bz2
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/IR/LLVMContext.cpp')
-rw-r--r--llvm/lib/IR/LLVMContext.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/llvm/lib/IR/LLVMContext.cpp b/llvm/lib/IR/LLVMContext.cpp
index 9f8680c..9369cbd 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";