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 | b452d4e9e4b12892f91350974d2b6a9edd8e7c64 (patch) | |
tree | bde08997aac662f949c66eb5f50f72dc19dce040 /llvm/lib/Support/ErrorHandling.cpp | |
parent | 4634b7d4f6cb8557da5f08bf41b68be4b6bdab02 (diff) | |
download | bcm5719-llvm-b452d4e9e4b12892f91350974d2b6a9edd8e7c64.tar.gz bcm5719-llvm-b452d4e9e4b12892f91350974d2b6a9edd8e7c64.zip |
Fix minor style issues.
llvm-svn: 99414
Diffstat (limited to 'llvm/lib/Support/ErrorHandling.cpp')
-rw-r--r-- | llvm/lib/Support/ErrorHandling.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/Support/ErrorHandling.cpp b/llvm/lib/Support/ErrorHandling.cpp index 8bb156653a7..4412cb2dd0d 100644 --- a/llvm/lib/Support/ErrorHandling.cpp +++ b/llvm/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(); } } - |