[clang] [clang][Dependency Scanning] Rename the Temporary File for Better Diagnostics (PR #183396)

Cyndy Ishida via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 3 08:56:20 PST 2026


================
@@ -188,7 +187,8 @@ dependencies::initVFSForByNameScanning(
   InMemoryFS->setCurrentWorkingDirectory(WorkingDirectory);
   SmallString<128> FakeInputPath;
   // TODO: We should retry the creation if the path already exists.
-  llvm::sys::fs::createUniquePath(ModuleName + "-%%%%%%%%.input", FakeInputPath,
+  llvm::sys::fs::createUniquePath("module-includes-%%%%%%%%.input",
----------------
cyndyishida wrote:

Why is representing that helpful? 

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


More information about the cfe-commits mailing list