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)
commit639522ca3589285e69598460d66206f6a333d816
treee541e759baba5f262225aec4fb06bed04305be19
parentb2ac280f96d2d2a5d005db81564184e0cdc91353
Add matcher for AccessSpecDecls.

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

llvm-svn: 176017
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/unittests/ASTMatchers/ASTMatchersTest.cpp