Index: clang/include/clang/ASTMatchers/ASTMatchers.h =================================================================== --- clang/include/clang/ASTMatchers/ASTMatchers.h +++ clang/include/clang/ASTMatchers/ASTMatchers.h @@ -1162,7 +1162,7 @@ return Node.getKind() == TemplateArgument::Integral; } -/// Matches a TemplateArgument that referes to an integral type. +/// Matches a TemplateArgument that refers to an integral type. /// /// Given /// \code @@ -6572,7 +6572,7 @@ /// \endcode extern const AstTypeMatcher decayedType; -/// Matches the decayed type, whos decayed type matches \c InnerMatcher +/// Matches the decayed type, whose decayed type matches \c InnerMatcher AST_MATCHER_P(DecayedType, hasDecayedType, internal::Matcher, InnerType) { return InnerType.matches(Node.getDecayedType(), Finder, Builder);