[PATCH] D116611: [clang][scandeps] Update Module Cache Path in Test

Sam Elliott via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 4 11:22:23 PST 2022


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"
 }
 ]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116611.397351.patch
Type: text/x-patch
Size: 619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220104/1b8e6cf2/attachment.bin>


More information about the cfe-commits mailing list