================
@@ -0,0 +1,36 @@
+// Check that the scanner can adjust arguments by reading .rsp files in 
advance.
+
+// RUN: rm -rf %t
+// RUN: split-file %s %t
+// RUN: sed -e "s|DIR|%/t|g" %t/cdb.json.template > %t/cdb.json
----------------
jansvoboda11 wrote:

You can now do this: `clang-scan-deps -o %t/deps.json -- %clang_cl <args>`. I 
guess `<args>` for `clang-cl` specifically cannot contain `%t` since that will 
begin with `/` on Unix system and cause command line parsing errors. But using 
relative paths like you currently do and changing directory before running the 
tools should work a will probably be much cleaner.

https://github.com/llvm/llvm-project/pull/89950
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to