[clang] [clang][deps] Stop sorting file dependencies (PR #114079)
Jan Svoboda via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 29 09:40:58 PDT 2024
================
@@ -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
More information about the cfe-commits
mailing list