cor3ntin added inline comments.
================ Comment at: clang/lib/Sema/SemaLambda.cpp:2263 + LocalInstantiationScope &Scope) + : FunctionScope(SemasRef) { + if (!isLambdaCallOperator(FD)) { ---------------- erichkeane wrote: > Wonder if `LambdaScopeForCallOperatorInstantiationRAII` should just inherit > from `FunctionScopeRAII? Am I missing why not? I suppose it could yes. I think it would have to be protected so that `disable` is not misused Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D159126/new/ https://reviews.llvm.org/D159126 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits