diff options
Diffstat (limited to 'src/Output.cxx')
-rw-r--r-- | src/Output.cxx | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Output.cxx b/src/Output.cxx index 25e52e4..e47a445 100644 --- a/src/Output.cxx +++ b/src/Output.cxx @@ -217,6 +217,8 @@ class ASTVisitor: public ASTVisitorBase // Type node output methods. void OutputBuiltinType(clang::BuiltinType const* t, DumpNode const* dn); + void OutputLValueReferenceType(clang::LValueReferenceType const* t, + DumpNode const* dn); void OutputPointerType(clang::PointerType const* t, DumpNode const* dn); /** Queue declarations matching given qualified name in given context. */ @@ -679,6 +681,16 @@ void ASTVisitor::OutputBuiltinType(clang::BuiltinType const* t, } //---------------------------------------------------------------------------- +void ASTVisitor::OutputLValueReferenceType(clang::LValueReferenceType const* t, + DumpNode const* dn) +{ + this->OS << " <ReferenceType"; + this->PrintIdAttribute(dn); + this->PrintTypeAttribute(t->getPointeeType(), false); + this->OS << "/>\n"; +} + +//---------------------------------------------------------------------------- void ASTVisitor::OutputPointerType(clang::PointerType const* t, DumpNode const* dn) { |