diff options
| author | Douglas Gregor <dgregor@apple.com> | 2009-07-06 15:59:29 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2009-07-06 15:59:29 +0000 |
| commit | 04318256b7929347401cca696eb9e6251f3b5181 (patch) | |
| tree | 9837bc14b6fae2eb94e3525d4a80f41121c5453c /clang/lib/CodeGen | |
| parent | 19623dc07582973d706898d3bd44bfea85a18d72 (diff) | |
| download | bcm5719-llvm-04318256b7929347401cca696eb9e6251f3b5181.tar.gz bcm5719-llvm-04318256b7929347401cca696eb9e6251f3b5181.zip | |
Keep track of the Expr used to describe the size of an array type,
from Enea Zaffanella!
llvm-svn: 74831
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 2bf8a222a25..cf8e19af323 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -780,6 +780,8 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, return Slot = CreateType(cast<FunctionType>(Ty), Unit); case Type::ConstantArray: + case Type::ConstantArrayWithExpr: + case Type::ConstantArrayWithoutExpr: case Type::VariableArray: case Type::IncompleteArray: return Slot = CreateType(cast<ArrayType>(Ty), Unit); |

