mizvekov added inline comments.
================ Comment at: clang/lib/Sema/SemaExprCXX.cpp:854 if (Ex && !Ex->isTypeDependent()) { + NRVOResult NRVORes = IsThrownVarInScope ? getNRVOResult(Ex) : NRVOResult(); + ---------------- mizvekov wrote: > aaronpuchert wrote: > > Any reason why you've moved that away from the comment that wants to > > explain it? > Yes, on C++2b this might modify Ex, and I moved it so this would happen > before we do the check with the type of the expression just below here. But yeah I forgot to move the comment, good catch. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99696/new/ https://reviews.llvm.org/D99696 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits