aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/ast/ASTPrinter.cpp
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-22 21:03:51 +0800
committerchriseth <chris@ethereum.org>2017-08-22 21:12:38 +0800
commit9b6caa3fc425b2892562f16ae491d8f76d1fab26 (patch)
tree4e83d87682d22b926be2adeaec565e57ed44fe41 /libsolidity/ast/ASTPrinter.cpp
parentf874fc28d1cb657b6d4e04fa9d93bd8d061f30c4 (diff)
downloaddexon-solidity-9b6caa3fc425b2892562f16ae491d8f76d1fab26.tar.gz
dexon-solidity-9b6caa3fc425b2892562f16ae491d8f76d1fab26.tar.zst
dexon-solidity-9b6caa3fc425b2892562f16ae491d8f76d1fab26.zip
Remove visits to abstract AST class TypeName.
Diffstat (limited to 'libsolidity/ast/ASTPrinter.cpp')
-rw-r--r--libsolidity/ast/ASTPrinter.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/libsolidity/ast/ASTPrinter.cpp b/libsolidity/ast/ASTPrinter.cpp
index bcb5e3b9..392179ef 100644
--- a/libsolidity/ast/ASTPrinter.cpp
+++ b/libsolidity/ast/ASTPrinter.cpp
@@ -143,13 +143,6 @@ bool ASTPrinter::visit(EventDefinition const& _node)
return goDeeper();
}
-bool ASTPrinter::visit(TypeName const& _node)
-{
- writeLine("TypeName");
- printSourcePart(_node);
- return goDeeper();
-}
-
bool ASTPrinter::visit(ElementaryTypeName const& _node)
{
writeLine(string("ElementaryTypeName ") + _node.typeName().toString());
@@ -434,11 +427,6 @@ void ASTPrinter::endVisit(EventDefinition const&)
m_indentation--;
}
-void ASTPrinter::endVisit(TypeName const&)
-{
- m_indentation--;
-}
-
void ASTPrinter::endVisit(ElementaryTypeName const&)
{
m_indentation--;