diff --git a/clang/docs/LibASTMatchersReference.html b/clang/docs/LibASTMatchersReference.html index 3ee44cfe11d..8afb1639e54 100644 --- a/clang/docs/LibASTMatchersReference.html +++ b/clang/docs/LibASTMatchersReference.html @@ -987,6 +987,21 @@ pointerType() +
Matches template specialization types. + +Given + template <typename T> + class C { }; + + template class C<int>; A + C<char> var; B + +templateSpecializationType() matches the type of the explicit +instantiation in A and the type of the variable declaration in B. +
Matches TypeLocs in the clang AST.
Matches template specialization types. + +Given + template <typename T> + class C { }; + + template class C<int>; A + C<char> var; B + +templateSpecializationType() matches the type of the explicit +instantiation in A and the type of the variable declaration in B. +
Matches Types in the clang AST.
Matches a type if the declaration of the type matches the given ++ Matcher<CXXConstructExpr> hasDeclaration Matcher<Decl> InnerMatcher @@ -2189,8 +2220,8 @@ Example matches y in x(y) Matches a type if the declaration of the type matches the given matcher. In addition to being usable as Matcher<TypedefType>, also usable as @@ -2043,7 +2073,8 @@ Matcher<T> for any T supporting the getDecl() member function. e.g. variou subtypes of clang::Type. Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, - Matcher<MemberExpr>, Matcher<TypedefType> + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType>
Matches a type if the declaration of the type matches the given ++ Matcher<CallExpr> hasDeclaration Matcher<Decl> InnerMatcher @@ -2586,8 +2618,8 @@ FIXME: Unit test this matcher Matches a type if the declaration of the type matches the given matcher. In addition to being usable as Matcher<TypedefType>, also usable as @@ -2198,7 +2229,8 @@ Matcher<T> for any T supporting the getDecl() member function. e.g. variou subtypes of clang::Type. Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, - Matcher<MemberExpr>, Matcher<TypedefType> + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType>
Matches a type if the declaration of the type matches the given ++ Matcher<MemberExpr> hasDeclaration Matcher<Decl> InnerMatcher @@ -2756,8 +2789,8 @@ Usable as: Matcher<QualType> Matches a type if the declaration of the type matches the given matcher. In addition to being usable as Matcher<TypedefType>, also usable as @@ -2595,7 +2627,8 @@ Matcher<T> for any T supporting the getDecl() member function. e.g. variou subtypes of clang::Type. Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, - Matcher<MemberExpr>, Matcher<TypedefType> + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType>
Matches a type if the declaration of the type matches the given ++ Matcher<QualType> hasDeclaration Matcher<Decl> InnerMatcher @@ -2850,13 +2884,7 @@ classTemplateSpecializationDecl(hasAnyTemplateArgument( Matches a type if the declaration of the type matches the given matcher. In addition to being usable as Matcher<TypedefType>, also usable as @@ -2765,7 +2798,8 @@ Matcher<T> for any T supporting the getDecl() member function. e.g. variou subtypes of clang::Type. Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, - Matcher<MemberExpr>, Matcher<TypedefType> + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType>
Matches TypeLocs for which the given inner -QualType-matcher matches. -
Matches a type if the declaration of the type matches the given matcher. @@ -2865,7 +2893,28 @@ Matcher<T> for any T supporting the getDecl() member function. e.g. variou subtypes of clang::Type. Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, - Matcher<MemberExpr>, Matcher<TypedefType> + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType> +
Matches TypeLocs for which the given inner +QualType-matcher matches. +
Matches a type if the declaration of the type matches the given +matcher. + +In addition to being usable as Matcher<TypedefType>, also usable as +Matcher<T> for any T supporting the getDecl() member function. e.g. various +subtypes of clang::Type. + +Usable as: Matcher<QualType>, Matcher<CallExpr>, Matcher<CXXConstructExpr>, + Matcher<MemberExpr>, Matcher<TypedefType>, + Matcher<TemplateSpecializationType>