summaryrefslogtreecommitdiffstats
path: root/clang/test/Sema/pr30306.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [VLA] Fix the test failure on msvc by specifying the triple.Tim Shen2017-02-151-1/+1
| | | | | | Differential Revision: https://reviews.llvm.org/D24333 llvm-svn: 295127
* [VLA] Handle VLA size expression in a full-expression context.Tim Shen2017-02-141-0/+15
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
OpenPOWER on IntegriCloud