From 478a8eb2b6da49b2f018c1ed925c9e4ee4213ae8 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Mon, 5 Oct 2015 19:44:42 +0000 Subject: Adding an AST node matcher for NonTypeTemplateParmDecl objects. llvm-svn: 249341 --- clang/docs/LibASTMatchersReference.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'clang/docs/LibASTMatchersReference.html') diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index cab709e3a64..0d6d18d60e9 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -316,6 +316,16 @@ namespaceDecl() +Matcher<Decl>nonTypeTemplateParmDeclMatcher<NonTypeTemplateParmDecl>... +
Matches non-type template parameter declarations.
+
+Given
+  template <typename T, int N> struct C {};
+templateArgument()
+  matches 'N', but not 'T'.
+
+ + Matcher<Decl>objcInterfaceDeclMatcher<ObjCInterfaceDecl>...
Matches Objective-C interface declarations.
 
@@ -2213,7 +2223,7 @@ Usable as: Matcher<FunctionDecl>isVariadic
 
Matches if a function declaration is variadic.
 
-Example matches f, but not g or h. The function i will not match, event when
+Example matches f, but not g or h. The function i will not match, even when
 compiled in C mode.
   void f(...);
   void g(int);
-- 
cgit v1.2.3