[PATCH] D123909: [Clang] Use of decltype(capture) in parameter-declaration-clause
Corentin Jabot via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 18 06:34:43 PDT 2022
cor3ntin added inline comments.
================
Comment at: clang/lib/Sema/SemaExpr.cpp:2703
+ UnqualifiedId &Id) {
+ InMutableAgnosticContext = true;
+ ExprResult Res = ActOnIdExpression(S, SS, /*TemplateKwLoc*/
----------------
erichkeane wrote:
> I would probably prefer a RAII object for this bool. It makes it easier later on if we decide this is something that needs to be enabled/disabled in a stack.
Agreed, it's better
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123909/new/
https://reviews.llvm.org/D123909
More information about the cfe-commits
mailing list