diff options
| author | Edwin Vane <edwin.vane@intel.com> | 2013-05-09 16:42:37 +0000 |
|---|---|---|
| committer | Edwin Vane <edwin.vane@intel.com> | 2013-05-09 16:42:37 +0000 |
| commit | c50e730d6effdbd20ccbf02b4c1f54679093f297 (patch) | |
| tree | 3a83e2569709d41da900657c89812bd2996d4060 /clang/docs/LibASTMatchersReference.html | |
| parent | 21b972ae9497b79af7320b9ff5a7ef28c5aab900 (diff) | |
| download | bcm5719-llvm-c50e730d6effdbd20ccbf02b4c1f54679093f297.tar.gz bcm5719-llvm-c50e730d6effdbd20ccbf02b4c1f54679093f297.zip | |
Updating LibASTMatchersReference to include namespaceDecl()
The namespaceDecl() ASTMatcher was added in r179027.
llvm-svn: 181519
Diffstat (limited to 'clang/docs/LibASTMatchersReference.html')
| -rw-r--r-- | clang/docs/LibASTMatchersReference.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index e80e4426f4b..e571c0780c3 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -212,6 +212,17 @@ Example matches X, S, the anonymous union type, i, and U; </pre></td></tr> +<tr><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>></td><td class="name" onclick="toggle('namespaceDecl0')"><a name="namespaceDecl0Anchor">namespaceDecl</a></td><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1NamespaceDecl.html">NamespaceDecl</a>>...</td></tr> +<tr><td colspan="4" class="doc" id="namespaceDecl0"><pre>Matches a declaration of a namespace. + +Given + namespace {} + namespace test {} +namespaceDecl() + matches "namespace {}" and "namespace test {}" +</pre></td></tr> + + <tr><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1Decl.html">Decl</a>></td><td class="name" onclick="toggle('recordDecl0')"><a name="recordDecl0Anchor">recordDecl</a></td><td>Matcher<<a href="http://clang.llvm.org/doxygen/classclang_1_1CXXRecordDecl.html">CXXRecordDecl</a>>...</td></tr> <tr><td colspan="4" class="doc" id="recordDecl0"><pre>Matches C++ class declarations. |

