erichkeane accepted this revision. erichkeane added inline comments. This revision is now accepted and ready to land.
================ Comment at: clang/lib/AST/Interp/Program.h:48 + // here manually so they are properly freeing their resources. + for (auto It : Records) + It.second->~Record(); ---------------- tbaeder wrote: > erichkeane wrote: > > I SUSPECT that by a reading of our rules here, we aren't allowed to use > > `auto` here. That said, I'm sure I don't want to have you spell out the > > whole LHS. > > > > THOUGH the name "It" is a little misleading, as this is NOT an iterator, it > > ends up being a std::pair or something I think... > Would `RecordPair` be better? Sure, good enough. Feel free to come up with whatever and commit. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D134054/new/ https://reviews.llvm.org/D134054 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits