]> granicus.if.org Git - clang/commit
Implement descendant matchers for NestedNamespecifiers
authorDaniel Jasper <djasper@google.com>
Tue, 30 Oct 2012 15:42:00 +0000 (15:42 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 30 Oct 2012 15:42:00 +0000 (15:42 +0000)
commitd1ce3c178b9c648687591b190e0d252124fc2459
tree6379bd7c0db193dcf8075e9a0e9520d1bfcc4656
parent0d1e645bbfd3727b0dd758bdb685c6e5c7592fec
Implement descendant matchers for NestedNamespecifiers

This implements has(), hasDescendant(), forEach() and
forEachDescendant() for NestedNameSpecifier and NestedNameSpecifierLoc
matchers.

Review: http://llvm-reviews.chandlerc.com/D86

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@167017 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/ASTMatchers/ASTMatchersInternal.h
lib/ASTMatchers/ASTMatchFinder.cpp
unittests/ASTMatchers/ASTMatchersTest.cpp