[PATCH] D51407: [Tooling] Do not restore working dir in ClangTool

Eric Liu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 29 02:09:04 PDT 2018


ioeric added inline comments.


================
Comment at: lib/Tooling/Tooling.cpp:419
-  } else {
-    llvm::report_fatal_error("Cannot detect current path: " +
-                             Twine(CWD.getError().message()));
----------------
Should we still check if `CWD` is correctly set?


Repository:
  rC Clang

https://reviews.llvm.org/D51407





More information about the cfe-commits mailing list