Commit 2d8145b1 authored by Stefan Behnel's avatar Stefan Behnel

Simplify code and add a comment.

parent 7b018126
......@@ -53,9 +53,8 @@ class SkipDeclarations(object):
return node
def visit_CppClassNode(self, node):
if node.visibility == "extern":
return node
else:
if node.visibility != "extern":
# Need to traverse methods.
self.visitchildren(node)
return node
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment