rsmith added inline comments.
================ Comment at: lib/Parse/ParseDecl.cpp:6237 + llvm::sort(SortedDecls, [](const Decl *L, const Decl *R) { + return L->getID() < R->getID(); + }); ---------------- I would prefer that we use `getID` only for debug dumping purposes. Can we change `Scope::DeclsInContext` to be a `SetVector` instead? (How much does that cost us memory-wise?) CHANGES SINCE LAST ACTION https://reviews.llvm.org/D55676/new/ https://reviews.llvm.org/D55676 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits