================
@@ -472,7 +465,8 @@ class FullDeps {
             JOS.attributeArray("command-line",
                                toJSONStrings(JOS, MD.getBuildArguments()));
             JOS.attribute("context-hash", StringRef(MD.ID.ContextHash));
-            JOS.attributeArray("file-deps", toJSONSorted(JOS, MD.FileDeps));
+            // TODO: Shuffle these to prevent tests from depending on the 
order.
----------------
jansvoboda11 wrote:

Because we might want to change one arbitrary deterministic ordering to another 
arbitrary deterministic ordering and I'd like for the tests to be resilient 
against that so that they don't need to change every time we do that.

https://github.com/llvm/llvm-project/pull/114079
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to