diff options
| author | Abramo Bagnara <abramo.bagnara@gmail.com> | 2010-12-10 16:29:40 +0000 |
|---|---|---|
| committer | Abramo Bagnara <abramo.bagnara@gmail.com> | 2010-12-10 16:29:40 +0000 |
| commit | 924a8f3573a64797a7080061a586e3b4de8a41ae (patch) | |
| tree | 33e351a46eeb5b90a1a0917b98003029c1fe5e58 /clang/lib/CodeGen/CGDebugInfo.cpp | |
| parent | d672b5c32f3d79524c9e0b4e5b55a6fd6bc5581a (diff) | |
| download | bcm5719-llvm-924a8f3573a64797a7080061a586e3b4de8a41ae.tar.gz bcm5719-llvm-924a8f3573a64797a7080061a586e3b4de8a41ae.zip | |
Added ParenType type node.
llvm-svn: 121488
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 3e77769466b..615972afbc8 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1327,6 +1327,9 @@ static QualType UnwrapTypeForDebugInfo(QualType T) { case Type::Elaborated: T = cast<ElaboratedType>(T)->getNamedType(); break; + case Type::Paren: + T = cast<ParenType>(T)->getInnerType(); + break; case Type::SubstTemplateTypeParm: T = cast<SubstTemplateTypeParmType>(T)->getReplacementType(); break; @@ -1422,6 +1425,7 @@ llvm::DIType CGDebugInfo::CreateTypeNode(QualType Ty, case Type::TemplateSpecialization: case Type::Elaborated: + case Type::Paren: case Type::SubstTemplateTypeParm: case Type::TypeOfExpr: case Type::TypeOf: |

