================ @@ -227,6 +227,14 @@ class ErrorReporter { llvm::errs() << "Can't apply replacements for file " << File << "\n"; } } + + auto BuildDir = Context.getCurrentBuildDirectory(); ---------------- jansvoboda11 wrote:
You're right, the `clang-tidy/infrastructure/clang-tidy-run-with-database.cpp` test kept passing just by chance. I added extra test case to prove that we need to keep closer track for each file what was the CWD when we processed it. https://github.com/llvm/llvm-project/pull/67839 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits