[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:03:05 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:

In other words, how it previously failed due to .clang-format?
clang-change-namespaces seems a complete separate tool to me

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


More information about the cfe-commits mailing list