diff options
Diffstat (limited to 'src/Output.cxx')
-rw-r--r-- | src/Output.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Output.cxx b/src/Output.cxx index 43af2e1..811364e 100644 --- a/src/Output.cxx +++ b/src/Output.cxx @@ -567,6 +567,13 @@ ASTVisitor::DumpId ASTVisitor::AddDeclDumpNode(clang::Decl const* d, } } } + + if (clang::TypedefDecl const* td = + clang::dyn_cast<clang::TypedefDecl>(d)) { + if (td->getUnderlyingType()->isRValueReferenceType()) { + return DumpId(); + } + } } return this->AddDumpNodeImpl(d, complete); |