summaryrefslogtreecommitdiffstats
path: root/clang/test/ASTMerge/exprs-cpp/test.cpp
diff options
context:
space:
mode:
authorTim Shen <timshen91@gmail.com>2017-02-14 23:46:37 +0000
committerTim Shen <timshen91@gmail.com>2017-02-14 23:46:37 +0000
commitb34d0ef2caa6beb1a1005e55f8855c8d8080f4c4 (patch)
treeadd4b50c3ae0c30db8f7d4c79a680b53de29f634 /clang/test/ASTMerge/exprs-cpp/test.cpp
parent222b30b9d39cce262f9e97559313ea593dc73a8e (diff)
downloadbcm5719-llvm-b34d0ef2caa6beb1a1005e55f8855c8d8080f4c4.tar.gz
bcm5719-llvm-b34d0ef2caa6beb1a1005e55f8855c8d8080f4c4.zip
[VLA] Handle VLA size expression in a full-expression context.
Summary: Previously the cleanups (e.g. dtor calls) are inserted into the outer scope (e.g. function body scope), instead of it's own scope. After the fix, the cleanups are inserted right after getting the size value. This fixes pr30306. Reviewers: rsmith Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D24333 llvm-svn: 295123
Diffstat (limited to 'clang/test/ASTMerge/exprs-cpp/test.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud