[clang] [clang-tools-extra] [clang-format][clang-tools-extra] Fix leaking of host-level config into test environment (PR #206358)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 21 13:01:37 PDT 2026


================
@@ -63,10 +63,10 @@ class ChangeNamespaceTest : public ::testing::Test {
   }
 
 protected:
-  std::string FileName = "input.cc";
+  std::string FileName = "/test/input.cc";
----------------
vbvictor wrote:

Why is this needed? Do tests create new files in source tree?

https://github.com/llvm/llvm-project/pull/206358


More information about the cfe-commits mailing list