From dd0bc7b560d081d49874991e94317ac8df97eae9 Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Tue, 1 Oct 2013 00:19:43 +0000 Subject: 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 --- clang/lib/Sema/SemaStmt.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'clang/lib/Sema/SemaStmt.cpp') 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(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 -- cgit v1.2.3