]> granicus.if.org Git - clang/commit
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)
commitb55c67d5e3b44499fa92ac3a6eea2ce01ea78234
tree25b02be0c94dbc855fbafd3272faffbbc70fe034
parentb12ecd3a3ef0a7010b33759b2310b83d51fbdc9a
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167850 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ASTMatchers/ASTMatchFinder.cpp