aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Support/ErrorHandling.h
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-07-08 19:04:27 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-07-08 19:04:27 +0000
commit804e0fea4033e3b91dbc8198cef30de30f141bb5 (patch)
tree5a0a48c149464165b7df8e87980b51c5964f9f46 /include/llvm/Support/ErrorHandling.h
parente9b11b431308f4766b73cda93e38ec930c912122 (diff)
downloadexternal_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.tar.gz
external_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.tar.bz2
external_llvm-804e0fea4033e3b91dbc8198cef30de30f141bb5.zip
Convert more abort() calls to llvm_report_error().
Also remove trailing semicolon. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/ErrorHandling.h')
-rw-r--r--include/llvm/Support/ErrorHandling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/ErrorHandling.h b/include/llvm/Support/ErrorHandling.h
index a65fbe6974..758d9243c0 100644
--- a/include/llvm/Support/ErrorHandling.h
+++ b/include/llvm/Support/ErrorHandling.h
@@ -49,7 +49,7 @@ namespace llvm {
void llvm_unreachable(void) NORETURN;
}
-#define LLVM_UNREACHABLE(msg) do { assert(0 && msg); llvm_unreachable(); } while(0);
+#define LLVM_UNREACHABLE(msg) do { assert(0 && msg); llvm_unreachable(); } while(0)
#endif