[PATCH] D121532: [Clang][WIP] Fix Unevaluated Lambdas
Aaron Ballman via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 18 07:46:49 PDT 2022
aaron.ballman added a reviewer: clang-language-wg.
aaron.ballman added inline comments.
================
Comment at: clang/lib/Sema/SemaLambda.cpp:978-979
CXXRecordDecl *Class = createLambdaClosureType(Intro.Range, MethodTyInfo,
KnownDependent, Intro.Default);
CXXMethodDecl *Method =
----------------
I don't think we should pass `KnownDependent` here as a bool, despite it working because of the enumerator value for the known dependent case.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D121532/new/
https://reviews.llvm.org/D121532
More information about the cfe-commits
mailing list