Oops, the testcase I was thinking of is supposed to error out. I
tried other things that might trip, but they all worked. llvm-svn: 72584
This commit is contained in:
@@ -487,8 +487,6 @@ llvm::Value *CodeGenFunction::EmitVLASize(QualType Ty)
|
||||
}
|
||||
|
||||
return SizeEntry;
|
||||
} else if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(Ty)) {
|
||||
EmitVLASize(CAT->getElementType());
|
||||
} else if (const PointerType *PT = Ty->getAsPointerType())
|
||||
EmitVLASize(PT->getPointeeType());
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user