[PATCH] D141625: [DeclContext] Sort the Decls before adding into DeclContext
    Steven Wu via Phabricator via cfe-commits 
    cfe-commits at lists.llvm.org
       
    Thu Jan 19 13:04:58 PST 2023
    
    
  
steven_wu added a comment.
No, reverse iteration will not break diff test for a small number of decls. Everything will be in reverse order so it is the same. Current test will fail early in reverse iteration and will fail in the end statistically for forward iteration. Will pass in all configurations. I think paying a bit more decls to make it fail in forward iteration is not a bad trade off.
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141625/new/
https://reviews.llvm.org/D141625
    
    
More information about the cfe-commits
mailing list