================

----------------
jansvoboda11 wrote:

Instead of creating single-entry single-use CDBs through templated and `sed`, 
you can pass the Clang invocations directly to `clang-scan-deps` like so:

```
// RUN: clang-scan-deps -format experimental-full -o %t/deps.json -- \
// RUN:   %clang -I %t/dir -I %t/Dir -c %t/tu0.c -ivfsoverlay %t/overlay.json \
// RUN:     -fmodules -fimplicit-module-maps -fmodules-cache-path=%t/cache
```

I find this easier to read and less boilerplate-y. Same for the other test.

https://github.com/llvm/llvm-project/pull/226339
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to