[PATCH] D130422: [clang-repl] Fix incorrect return code

Vassil Vassilev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 31 02:37:16 PDT 2022


v.g.vassilev accepted this revision.
v.g.vassilev added inline comments.


================
Comment at: clang/tools/clang-repl/ClangRepl.cpp:138
 
-  return checkDiagErrors(Interp->getCompilerInstance());
+  llvm::llvm_shutdown();
+
----------------
This seems not needed. We have already `llvm::llvm_shutdown_obj Y;`


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130422/new/

https://reviews.llvm.org/D130422



More information about the cfe-commits mailing list