[clang] [ASTWriter] Detect more non-affecting FileIDs to reduce source location duplication (PR #112015)
Ilya Biryukov via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 5 06:25:46 PST 2024
================
@@ -43,7 +43,7 @@ module third {}
// CHECK-NEXT: "command-line": [
// CHECK-NEXT: "-cc1",
// CHECK: "-fmodule-map-file=[[PREFIX]]/second/second/module.modulemap"
-// CHECK-NOT: "-fmodule-map-file=[[PREFIX]]/second/second/sub.modulemap"
+// CHECK-NEXT: "-fmodule-map-file=[[PREFIX]]/second/second/sub.modulemap"
----------------
ilya-biryukov wrote:
I've updated the code to keep the old behavior in that case, PTAL.
https://github.com/llvm/llvm-project/pull/112015
More information about the cfe-commits
mailing list