diff options
author | Dan Gohman <gohman@apple.com> | 2010-03-24 19:38:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-03-24 19:38:02 +0000 |
commit | 16e02097d283159c240996185a8b20f4ea46ccfc (patch) | |
tree | 5ec0966594df3e0b5dc7de1af399c8415b779622 /lib/Support/ErrorHandling.cpp | |
parent | 34b96f4fb369ab3b4cabcfb3d3b4bbb9e201aaf4 (diff) |
Fix minor style issues.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@99414 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/ErrorHandling.cpp')
-rw-r--r-- | lib/Support/ErrorHandling.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Support/ErrorHandling.cpp b/lib/Support/ErrorHandling.cpp index 8bb156653a..4412cb2dd0 100644 --- a/lib/Support/ErrorHandling.cpp +++ b/lib/Support/ErrorHandling.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// This file defines an API for error handling, it supersedes cerr+abort(), and +// This file defines an API for error handling, it supersedes cerr+abort(), and // cerr+exit() style error handling. // Callbacks can be registered for these errors through this API. //===----------------------------------------------------------------------===// @@ -57,7 +57,7 @@ void llvm_report_error(const Twine &reason) { exit(1); } -void llvm_unreachable_internal(const char *msg, const char *file, +void llvm_unreachable_internal(const char *msg, const char *file, unsigned line) { // This code intentionally doesn't call the ErrorHandler callback, because // llvm_unreachable is intended to be used to indicate "impossible" @@ -71,4 +71,3 @@ void llvm_unreachable_internal(const char *msg, const char *file, abort(); } } - |