[PATCH] D18823: Implementation of VlA of GNU C++ extension

Vladimir Yakovlev via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 13 06:43:31 PDT 2016


vbyakovl updated this revision to Diff 53548.
vbyakovl added a comment.

Sema/SemaType.cpp: Vla works in C++ by default. An error is printed if a class has not default constructor.
test/SemaCXX/c99-variable-length-array.cpp: Changes is removed
test/SemaCXX/vla.cpp: changes is removed.
test/CodeGenCXX/vla-consruct.cpp is added.


http://reviews.llvm.org/D18823

Files:
  llvm/tools/clang/lib/CodeGen/CGClass.cpp
  llvm/tools/clang/lib/CodeGen/CGExprCXX.cpp
  llvm/tools/clang/lib/CodeGen/CodeGenFunction.h
  llvm/tools/clang/lib/Sema/SemaType.cpp
  llvm/tools/clang/test/CodeGenCXX/vla-consruct.cpp
  llvm/tools/clang/test/SemaCXX/c99-variable-length-array.cpp
  llvm/tools/clang/test/SemaCXX/vla-consruct.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18823.53548.patch
Type: text/x-patch
Size: 12650 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160413/9dba012e/attachment-0001.bin>


More information about the cfe-commits mailing list