lenary created this revision. lenary added reviewers: rsmith, Bigcheese. lenary requested review of this revision. Herald added a project: clang.
This fixes the test introduced in D114206 <https://reviews.llvm.org/D114206> so it no longer writes to the current working directory. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D116611 Files: clang/test/ClangScanDeps/modulemap-via-vfs.m Index: clang/test/ClangScanDeps/modulemap-via-vfs.m =================================================================== --- clang/test/ClangScanDeps/modulemap-via-vfs.m +++ clang/test/ClangScanDeps/modulemap-via-vfs.m @@ -15,7 +15,7 @@ [ { "directory": "DIR", - "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml", + "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=DIR/module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml", "file": "DIR/main.m" } ]
Index: clang/test/ClangScanDeps/modulemap-via-vfs.m =================================================================== --- clang/test/ClangScanDeps/modulemap-via-vfs.m +++ clang/test/ClangScanDeps/modulemap-via-vfs.m @@ -15,7 +15,7 @@ [ { "directory": "DIR", - "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml", + "command": "clang DIR/main.m -Imodules/A -fmodules -fmodules-cache-path=DIR/module-cache -fimplicit-modules -fimplicit-module-maps -ivfsoverlay build/vfs.yaml", "file": "DIR/main.m" } ]
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits