Fix AST-matcher descendant visiting for Types, TypeLocs and NestedNamespecifierLocs.
authorDaniel Jasper <djasper@google.com>
Tue, 13 Nov 2012 17:14:11 +0000 (17:14 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 13 Nov 2012 17:14:11 +0000 (17:14 +0000)
commita05bb6bd7016c4e43d1dca4bcd969cb245d2ad43
tree303660a12381fc3f6c77bcc530cf8d73ff2468d0
parent379574fd20cb9ac83f126f9a6111f202f5120c71
Fix AST-matcher descendant visiting for Types, TypeLocs and NestedNamespecifierLocs.

The RecursiveASTVisitor assumes that any given Traverse-method can be called with a NULL-node. So the subclass needs to handle these appropriately.

llvm-svn: 167850
clang/lib/ASTMatchers/ASTMatchFinder.cpp