summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaStmt.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-10-01 00:19:43 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-10-01 00:19:43 +0000
commitdd0bc7b560d081d49874991e94317ac8df97eae9 (patch)
tree3c1bb688a053a7a1c771414dcff70aff829359ad /clang/lib/Sema/SemaStmt.cpp
parentcc363a78ac14d5cd560c29a337d726fa5c4e8ed8 (diff)
downloadbcm5719-llvm-dd0bc7b560d081d49874991e94317ac8df97eae9.tar.gz
bcm5719-llvm-dd0bc7b560d081d49874991e94317ac8df97eae9.zip
Remove support for arrays of runtime bound in C++1y, now they have been voted
out of the working paper. This reverts r179962 and r179992. llvm-svn: 191718
Diffstat (limited to 'clang/lib/Sema/SemaStmt.cpp')
-rw-r--r--clang/lib/Sema/SemaStmt.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaStmt.cpp b/clang/lib/Sema/SemaStmt.cpp
index 136a5e169d9..10e808eae31 100644
--- a/clang/lib/Sema/SemaStmt.cpp
+++ b/clang/lib/Sema/SemaStmt.cpp
@@ -2102,8 +2102,6 @@ Sema::BuildCXXForRangeStmt(SourceLocation ForLoc, SourceLocation ColonLoc,
RangeLoc));
else if (const VariableArrayType *VAT =
dyn_cast<VariableArrayType>(UnqAT))
- // FIXME: Need to build an OpaqueValueExpr for this rather than
- // recomputing it!
BoundExpr = VAT->getSizeExpr();
else {
// Can't be a DependentSizedArrayType or an IncompleteArrayType since
OpenPOWER on IntegriCloud