diff options
| author | Renato Golin <renato.golin@linaro.org> | 2016-05-13 16:02:44 +0000 |
|---|---|---|
| committer | Renato Golin <renato.golin@linaro.org> | 2016-05-13 16:02:44 +0000 |
| commit | e9fa3585c5929b1c5646140a5cce3f096ca64d1f (patch) | |
| tree | d72a5d528c2dbfdad8cb56b9e037630a8578ceb1 /llvm/lib/IR | |
| parent | 64936ce91dba4fe91655629ce1a25895f2af6f51 (diff) | |
| download | bcm5719-llvm-e9fa3585c5929b1c5646140a5cce3f096ca64d1f.tar.gz bcm5719-llvm-e9fa3585c5929b1c5646140a5cce3f096ca64d1f.zip | |
Revert "[llc] New diagnostic handler"
This reverts commit r269428, as it breaks the LLDB build. We need to
understand how to change LLDB in the same way as LLC before landing this
again.
llvm-svn: 269432
Diffstat (limited to 'llvm/lib/IR')
| -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"; |

