diff options
author | Edwin Török <edwintorok@gmail.com> | 2009-07-07 17:39:53 +0000 |
---|---|---|
committer | Edwin Török <edwintorok@gmail.com> | 2009-07-07 17:39:53 +0000 |
commit | 8e417626e59b57c32d95e9f3524885744fbd3615 (patch) | |
tree | 80bdf1697e72f75ec1ad49390a0e6ae366cd8020 /lib/Support | |
parent | f7cbfea6ad05c37faa3449be206c7d60f8252f5d (diff) | |
download | external_llvm-8e417626e59b57c32d95e9f3524885744fbd3615.zip external_llvm-8e417626e59b57c32d95e9f3524885744fbd3615.tar.gz external_llvm-8e417626e59b57c32d95e9f3524885744fbd3615.tar.bz2 |
Fix braces.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74923 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r-- | lib/Support/ErrorHandling.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/Support/ErrorHandling.cpp b/lib/Support/ErrorHandling.cpp index 2f8f7d4..2a5d906 100644 --- a/lib/Support/ErrorHandling.cpp +++ b/lib/Support/ErrorHandling.cpp @@ -35,8 +35,7 @@ void llvm_remove_error_handler(void) { ErrorHandler = 0; } -void llvm_report_error(const std::string &reason) -{ +void llvm_report_error(const std::string &reason) { if (!ErrorHandler) { errs() << "LLVM ERROR: " << reason << "\n"; } else { @@ -45,8 +44,7 @@ void llvm_report_error(const std::string &reason) exit(1); } -void llvm_unreachable(void) -{ +void llvm_unreachable(void) { abort(); } } |