Skip to content

Commit

Permalink
update for api change.
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@100718 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
lattner committed Apr 7, 2010
1 parent 216c278 commit 1e3c6f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/driver/cc1_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ int cc1_main(const char **ArgBegin, const char **ArgEnd,

// Set an error handler, so that any LLVM backend diagnostics go through our
// error handler.
llvm::llvm_install_error_handler(LLVMErrorHandler,
llvm::install_fatal_error_handler(LLVMErrorHandler,
static_cast<void*>(&Clang->getDiagnostics()));

DiagsBuffer.FlushDiagnostics(Clang->getDiagnostics());
Expand Down

0 comments on commit 1e3c6f4

Please sign in to comment.