[clang] [clang][Modules] Respect case sensitivity when hashing implicit module map path (PR #226339)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 25 08:55:54 PDT 2026


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

----------------
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


More information about the cfe-commits mailing list