diff options
author | Anders Carlsson <andersca@mac.com> | 2009-06-24 19:06:50 +0000 |
---|---|---|
committer | Anders Carlsson <andersca@mac.com> | 2009-06-24 19:06:50 +0000 |
commit | 395b475a4474f1c7574d927ad142ca0c7997cbca (patch) | |
tree | 8b461179fb0555564d137fb4aaed04ed9be38a1b /lib/CodeGen/CGDebugInfo.cpp | |
parent | 6fe1ef2bbbf2ccf42c935e2a8b857fcfffdb1374 (diff) |
Add a DecltypeType type.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@74099 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/CodeGen/CGDebugInfo.cpp b/lib/CodeGen/CGDebugInfo.cpp index a2b8d13e3c..fb1fefe6ff 100644 --- a/lib/CodeGen/CGDebugInfo.cpp +++ b/lib/CodeGen/CGDebugInfo.cpp @@ -810,6 +810,9 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, case Type::TypeOf: return Slot = getOrCreateType(cast<TypeOfType>(Ty)->getUnderlyingType(), Unit); + case Type::Decltype: + return Slot = getOrCreateType(cast<DecltypeType>(Ty)->getUnderlyingExpr() + ->getType(), Unit); } return Slot; |