summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2011-03-04 04:00:19 +0000
committerJohn McCall <rjmccall@apple.com>2011-03-04 04:00:19 +0000
commit4223a9ee7ae3d7bab25910eceba6d3ded57ef015 (patch)
tree5a78fd7ecd6e35088da310b1f8aa6905be09b50e /clang/lib/CodeGen
parente2017b6f2ef1622089c140f1f6f0552e5a146e13 (diff)
downloadbcm5719-llvm-4223a9ee7ae3d7bab25910eceba6d3ded57ef015.tar.gz
bcm5719-llvm-4223a9ee7ae3d7bab25910eceba6d3ded57ef015.zip
Make AttributedTypes for GC-qualified types and fix some miscellaneous
bugs with such types. Not sure this is quite how I want the desugaring and a.k.a. logic to go, but it suffices. llvm-svn: 126986
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r--clang/lib/CodeGen/CGDebugInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp
index e6d2af3a533..bccf6e77cd9 100644
--- a/clang/lib/CodeGen/CGDebugInfo.cpp
+++ b/clang/lib/CodeGen/CGDebugInfo.cpp
@@ -1364,6 +1364,7 @@ static QualType UnwrapTypeForDebugInfo(QualType T) {
break;
case Type::Attributed:
T = cast<AttributedType>(T)->getEquivalentType();
+ break;
case Type::Elaborated:
T = cast<ElaboratedType>(T)->getNamedType();
break;
OpenPOWER on IntegriCloud