]> granicus.if.org Git - clang/commit
Add matcher for AccessSpecDecls.
authorDaniel Jasper <djasper@google.com>
Mon, 25 Feb 2013 12:02:08 +0000 (12:02 +0000)
committerDaniel Jasper <djasper@google.com>
Mon, 25 Feb 2013 12:02:08 +0000 (12:02 +0000)
commitf3197e9eb02120522c1f60f88dacc1cfe5b210f0
treea8a109cb6c6043926ea753f06e9629cdd29dbc16
parent6c5038cf8486d92ae53bf4513141bd40a5ae0734
Add matcher for AccessSpecDecls.

Also, add matchers isPrivate(), isProtected() and isPublic(), that
restrict the matching of such AccessSpecDecls and all other Decls.

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