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

Alexey Bataev a.bataev at hotmail.com
Thu Aug 28 06:11:41 PDT 2014


Hi doug.gregor, hfinkel, rsmith, fraggamuffin, ejstotzer,

An updated implemnentation of VLA types capturing based on previously committed solution for Lambdas.
This version captures the whole VLA type instead of particular variables which are part of VLA size expression and allows to use previusly calculated size of VLA type in captured regions. Required for OpenMP.

http://reviews.llvm.org/D5099

Files:
  include/clang/AST/Decl.h
  include/clang/AST/Stmt.h
  lib/AST/Decl.cpp
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/Sema/ScopeInfo.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaStmt.cpp
  lib/Serialization/ASTWriterStmt.cpp
  test/CodeGen/captured-statements-nested.c
  test/CodeGen/captured-statements.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5099.13030.patch
Type: text/x-patch
Size: 21661 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140828/d4845f41/attachment.bin>


More information about the cfe-commits mailing list