[PATCH] D143109: [Sema] Push a LambdaScopeInfo before calling SubstDefaultArgument

Tom Honermann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 3 17:51:26 PST 2023


tahonermann added a comment.

> Incidentally, it looks like that LSI copy (https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/TreeTransform.h#L13469-L13478) has not been needed since commit bf5fe2dbba0899bee4323f5eaa075acc43a18e2e (see https://github.com/llvm/llvm-project/blob/main/clang/lib/Sema/SemaDecl.cpp#L15435-L15438).

I tried this and the testsuite informed me, in no uncertain terms that, no no, that copy is very much still needed. I haven't explored further.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143109/new/

https://reviews.llvm.org/D143109



More information about the cfe-commits mailing list