[PATCH] Improved capturing variable-length array types in CapturedStmt.

John McCall rjmccall at gmail.com
Mon Oct 20 11:09:50 PDT 2014


This looks great; one minor suggestion and it's good to go.

================
Comment at: lib/AST/Decl.cpp:3572
@@ +3571,3 @@
+
+void RecordDecl::setCapturedRecord(bool CapRec) {
+  if (CapRec)
----------------
We don't actually need or want to support removing this, so there's no point in taking a parameter.

http://reviews.llvm.org/D5099






More information about the cfe-commits mailing list