summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-02-26 21:30:53 (GMT)
committerBrad King <brad.king@kitware.com>2014-03-21 21:06:03 (GMT)
commit317e88fd4d6f77cb6e21666690c8fcdbad23a153 (patch)
treeaa6fe954c1abd7e88ed48e990be97bcf5a05a508 /src
parentbd0bb7a0dd611f5eef3ea8f33a1cceb6c9cc52d7 (diff)
downloadCastXML-317e88fd4d6f77cb6e21666690c8fcdbad23a153.zip
CastXML-317e88fd4d6f77cb6e21666690c8fcdbad23a153.tar.gz
CastXML-317e88fd4d6f77cb6e21666690c8fcdbad23a153.tar.bz2
Output: Map Paren type to the inner type
Diffstat (limited to 'src')
-rw-r--r--src/Output.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Output.cxx b/src/Output.cxx
index 32c24ad..ad91f55 100644
--- a/src/Output.cxx
+++ b/src/Output.cxx
@@ -351,6 +351,9 @@ unsigned int ASTVisitor::AddDumpNode(clang::QualType t, bool complete) {
case clang::Type::Elaborated:
return this->AddDumpNode(
t->getAs<clang::ElaboratedType>()->getNamedType(), complete);
+ case clang::Type::Paren:
+ return this->AddDumpNode(
+ t->getAs<clang::ParenType>()->getInnerType(), complete);
case clang::Type::Record:
return this->AddDumpNode(t->getAs<clang::RecordType>()->getDecl(),
complete);