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 | a678874975003e8ddc5fc5fdecbfd80956ef257c (patch) | |
tree | 86d927fc86eb6dd3b8771953682b69a15110740f /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 20da71e3b6e87bca30a175ac0b51168fd56baf19 (diff) | |
download | bcm5719-llvm-a678874975003e8ddc5fc5fdecbfd80956ef257c.tar.gz bcm5719-llvm-a678874975003e8ddc5fc5fdecbfd80956ef257c.zip |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index 38a981ccff1..04661fca471 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/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 { |