[clang] [clang][deps] Stop sorting file dependencies (PR #114079)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 29 09:43:52 PDT 2024
================
@@ -34,8 +34,8 @@ module mod { header "mod.h" }
// CHECK: ],
// CHECK-NEXT: "context-hash": "[[HASH_MOD:.*]]",
// CHECK-NEXT: "file-deps": [
-// CHECK-NEXT: "[[PREFIX]]/mod.h"
-// CHECK-NEXT: "[[PREFIX]]/module.modulemap"
+// CHECK-DAG: "[[PREFIX]]/mod.h"
----------------
jansvoboda11 wrote:
We already have a test that diffs two scan results (`submodule-order.c`), so I believe that would catch non-deterministic ordering. (We might need to tweak the test so that one of the modules contains multiple files.)
https://github.com/llvm/llvm-project/pull/114079
More information about the cfe-commits
mailing list