[PATCH] Move CapturedStmt parameters to CapturedDecl
Doug Gregor
dgregor at apple.com
Wed Apr 24 21:17:16 PDT 2013
================
Comment at: include/clang/AST/Decl.h:3173
@@ -3172,2 +3172,3 @@
Stmt *Body;
+ SmallVector<ImplicitParamDecl *, 3> Params;
----------------
Decl nodes can't contain SmallVectors, because the constructors of Decl nodes are never executed (so the SmallVector storage would leak). Please use an ASTContext-allocated array.
http://llvm-reviews.chandlerc.com/D722
BRANCH
captured-stmts-codegen
ARCANIST PROJECT
clang
More information about the cfe-commits
mailing list