diff options
-rw-r--r-- | CodeGen/CGExprConstant.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/CodeGen/CGExprConstant.cpp b/CodeGen/CGExprConstant.cpp index 7a59457597..cca5982f6d 100644 --- a/CodeGen/CGExprConstant.cpp +++ b/CodeGen/CGExprConstant.cpp @@ -203,8 +203,6 @@ public: // an l-value. if (ICExpr->getSubExpr()->getType()->isArrayType()) { // Note that VLAs can't exist for global variables. - // The only thing that can have array type like this is a - // DeclRefExpr(FileVarDecl)? llvm::Constant *C = EmitLValue(ICExpr->getSubExpr()); assert(isa<llvm::PointerType>(C->getType()) && isa<llvm::ArrayType>(cast<llvm::PointerType>(C->getType()) |