commit | 81df7b89de75045242fbb0b383b098879458930c | [log] [tgz] |
---|---|---|
author | Anders Carlsson <andersca@mac.com> | Wed Jun 24 19:06:50 2009 +0000 |
committer | Anders Carlsson <andersca@mac.com> | Wed Jun 24 19:06:50 2009 +0000 |
tree | 3e711a440659fd244fcb8743e5574a806a0126da | |
parent | 550e701cf5e150e63948ce71c44b7ea95bf867c3 [diff] [blame] |
Add a DecltypeType type. llvm-svn: 74099
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index a2b8d13..fb1fefe 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -810,6 +810,9 @@ 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;