[PATCH] D53595: [C++17] Reject shadowing of capture by parameter in lambda
Roman Lebedev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 23 14:56:45 PDT 2018
lebedev.ri added inline comments.
================
Comment at: include/clang/Sema/Sema.h:5584
+ void addLambdaParameters(
+ const SmallVectorImpl<LambdaIntroducer::LambdaCapture> &Captures,
+ CXXMethodDecl *CallOperator, Scope *CurScope);
----------------
Maybe this should be `ArrayRef<LambdaIntroducer::LambdaCapture> Captures` instead?
Repository:
rC Clang
https://reviews.llvm.org/D53595
More information about the cfe-commits
mailing list