From 6223b3f9891eaf4da7a0b616f9c869b2639bdd6d Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Fri, 28 Aug 2015 19:39:56 +0000 Subject: [PATCH] Updating the AST matcher documentation with a new entry; NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@246324 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LibASTMatchersReference.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/LibASTMatchersReference.html b/docs/LibASTMatchersReference.html index 8be0aa9eb8..7e979a1b24 100644 --- a/docs/LibASTMatchersReference.html +++ b/docs/LibASTMatchersReference.html @@ -1353,6 +1353,20 @@ referenceType() matches the types of b, c, d, e, and f. +Matcher<Type>substTemplateTypeParmTypeMatcher<SubstTemplateTypeParmType>... +
Matches types that represent the result of substituting a type for a
+template type parameter.
+
+Given
+  template <typename T>
+  void F(T t) {
+    int i = 1 + t;
+  }
+
+substTemplateTypeParmType() matches the type of 't' but not '1'
+
+ + Matcher<Type>templateSpecializationTypeMatcher<TemplateSpecializationType>...
Matches template specialization types.
 
-- 
2.40.0