As discussed with @aaron.ballman on IRC.
This reverts https://reviews.llvm.org/rGa8843643cd75d0e93ebcf3f30b470d2b8e59868d
I have ASan enabled locally and with this patch, the test suite now works fine.
Differential D134054
[clang][Interp] Properly destruct allocated Records tbaeder on Sep 16 2022, 10:01 AM. Authored by
Details As discussed with @aaron.ballman on IRC. This reverts https://reviews.llvm.org/rGa8843643cd75d0e93ebcf3f30b470d2b8e59868d I have ASan enabled locally and with this patch, the test suite now works fine.
Diff Detail Event TimelineComment Actions Other than the pedantry above, LGTM.
|
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...