diff options
| author | Anders Carlsson <andersca@mac.com> | 2009-07-10 19:20:26 +0000 |
|---|---|---|
| committer | Anders Carlsson <andersca@mac.com> | 2009-07-10 19:20:26 +0000 |
| commit | ea1cfb415bdb4c7ae59868db4f883f557ea0b794 (patch) | |
| tree | 573f3190629954c5aa082b10a40b1c54861464a9 /clang/lib/CodeGen | |
| parent | f075943584dc5bada7ef09f89b706a0b5f7e591a (diff) | |
| download | bcm5719-llvm-ea1cfb415bdb4c7ae59868db4f883f557ea0b794.tar.gz bcm5719-llvm-ea1cfb415bdb4c7ae59868db4f883f557ea0b794.zip | |
Fix a problem that Eli noticed, and that Doug helped me fix.
llvm-svn: 75265
Diffstat (limited to 'clang/lib/CodeGen')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index cf8e19af323..8fa1e9c920f 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -792,8 +792,8 @@ llvm::DIType CGDebugInfo::getOrCreateType(QualType Ty, return Slot = getOrCreateType(cast<TypeOfType>(Ty)->getUnderlyingType(), Unit); case Type::Decltype: - return Slot = getOrCreateType(cast<DecltypeType>(Ty)->getUnderlyingExpr() - ->getType(), Unit); + return Slot = getOrCreateType(cast<DecltypeType>(Ty)->getUnderlyingType(), + Unit); } return Slot; |

