commit | 075f8f1b6bed4d1b224c74f87508534cc6392ce6 | [log] [tgz] |
---|---|---|
author | Abramo Bagnara <abramo.bagnara@gmail.com> | Fri Dec 10 16:29:40 2010 +0000 |
committer | Abramo Bagnara <abramo.bagnara@gmail.com> | Fri Dec 10 16:29:40 2010 +0000 |
tree | c928464ba32f736d3a38292dd23a6ef919ce4d1c | |
parent | c3c0af36bac3d71f61dd758585ab307892545de4 [diff] [blame] |
Added ParenType type node. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@121488 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/CodeGen/CodeGenFunction.cpp b/lib/CodeGen/CodeGenFunction.cpp index efeca2d..7bd0c3d 100644 --- a/lib/CodeGen/CodeGenFunction.cpp +++ b/lib/CodeGen/CodeGenFunction.cpp
@@ -656,6 +656,11 @@ return 0; } + if (const ParenType *PT = dyn_cast<ParenType>(Ty)) { + EmitVLASize(PT->getInnerType()); + return 0; + } + const PointerType *PT = Ty->getAs<PointerType>(); assert(PT && "unknown VM type!"); EmitVLASize(PT->getPointeeType());