[clang] [clang][deps] Stop sorting file dependencies (PR #114079)

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 10:00:05 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"
----------------
benlangmuir wrote:

This test has very few files and isn't making any attempt to be exhaustive about which kinds of input files it has. I don't think it provides very good coverage for checking the order is deterministic.

https://github.com/llvm/llvm-project/pull/114079


More information about the cfe-commits mailing list