diff options
author | Mike Stump <mrs@apple.com> | 2009-05-29 19:14:13 +0000 |
---|---|---|
committer | Mike Stump <mrs@apple.com> | 2009-05-29 19:14:13 +0000 |
commit | c9bb1b8e4e6d46ce6c9691dc72757f2a8f71b57b (patch) | |
tree | 4f19ae38a702f597d453aeeb253def7454f9138e /lib/CodeGen/CodeGenFunction.cpp | |
parent | 19262421fa6985dedd03df512a758238682db9d3 (diff) |
Oops, the testcase I was thinking of is supposed to error out. I
tried other things that might trip, but they all worked.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72584 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index 38a981ccff..04661fca47 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp @@ -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 { |