From 0332e0a1bb8f96c83cfbbbe90a3708a85f409f5e Mon Sep 17 00:00:00 2001 From: Edwin Vane Date: Thu, 9 May 2013 16:42:37 +0000 Subject: [PATCH] Updating LibASTMatchersReference to include namespaceDecl() The namespaceDecl() ASTMatcher was added in r179027. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@181519 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibASTMatchersReference.html | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index e80e4426f4..e571c0780c 100644 --- a/docs/LibASTMatchersReference.html +++ b/docs/LibASTMatchersReference.html @@ -212,6 +212,17 @@ Example matches X, S, the anonymous union type, i, and U; +Matcher<Decl>namespaceDeclMatcher<NamespaceDecl>... +
Matches a declaration of a namespace.
+
+Given
+  namespace {}
+  namespace test {}
+namespaceDecl()
+  matches "namespace {}" and "namespace test {}"
+
+ + Matcher<Decl>recordDeclMatcher<CXXRecordDecl>...
Matches C++ class declarations.
 
-- 
2.50.1