@@ -612,7 +612,7 @@ extern const internal::VariadicDynCastAllOfMatcher<Decl,
612
612
TemplateTemplateParmDecl>
613
613
templateTemplateParmDecl;
614
614
615
- // / Matches public C++ declarations and C++ base specifers that specify public
615
+ // / Matches public C++ declarations and C++ base specifiers that specify public
616
616
// / inheritance.
617
617
// /
618
618
// / Examples:
@@ -635,7 +635,7 @@ AST_POLYMORPHIC_MATCHER(isPublic,
635
635
return getAccessSpecifier (Node) == AS_public;
636
636
}
637
637
638
- // / Matches protected C++ declarations and C++ base specifers that specify
638
+ // / Matches protected C++ declarations and C++ base specifiers that specify
639
639
// / protected inheritance.
640
640
// /
641
641
// / Examples:
@@ -657,8 +657,8 @@ AST_POLYMORPHIC_MATCHER(isProtected,
657
657
return getAccessSpecifier (Node) == AS_protected;
658
658
}
659
659
660
- // / Matches private C++ declarations and C++ base specifers that specify private
661
- // / inheritance.
660
+ // / Matches private C++ declarations and C++ base specifiers that specify
661
+ // / private inheritance.
662
662
// /
663
663
// / Examples:
664
664
// / \code
@@ -1212,7 +1212,7 @@ AST_MATCHER_P(TemplateArgument, refersToIntegralType,
1212
1212
// / Matches a TemplateArgument of integral type with a given value.
1213
1213
// /
1214
1214
// / Note that 'Value' is a string as the template argument's value is
1215
- // / an arbitrary precision integer. 'Value' must be euqal to the canonical
1215
+ // / an arbitrary precision integer. 'Value' must be equal to the canonical
1216
1216
// / representation of that integral value in base 10.
1217
1217
// /
1218
1218
// / Given
@@ -5689,7 +5689,7 @@ AST_POLYMORPHIC_MATCHER_P(equalsBoundNode,
5689
5689
// FIXME: Figure out whether it makes sense to allow this
5690
5690
// on any other node types.
5691
5691
// For *Loc it probably does not make sense, as those seem
5692
- // unique. For NestedNameSepcifier it might make sense, as
5692
+ // unique. For NestedNameSpecifier it might make sense, as
5693
5693
// those also have pointer identity, but I'm not sure whether
5694
5694
// they're ever reused.
5695
5695
internal::NotEqualsBoundNodePredicate Predicate;
@@ -6322,7 +6322,7 @@ AST_MATCHER_P(CXXMethodDecl, forEachOverridden,
6322
6322
return Matched;
6323
6323
}
6324
6324
6325
- // / Matches declarations of virtual methods and C++ base specifers that specify
6325
+ // / Matches declarations of virtual methods and C++ base specifiers that specify
6326
6326
// / virtual inheritance.
6327
6327
// /
6328
6328
// / Example:
@@ -7710,7 +7710,7 @@ extern const AstTypeMatcher<InjectedClassNameType> injectedClassNameType;
7710
7710
// / \endcode
7711
7711
extern const AstTypeMatcher<DecayedType> decayedType;
7712
7712
7713
- // / Matches the decayed type, whoes decayed type matches \c InnerMatcher
7713
+ // / Matches the decayed type, whose decayed type matches \c InnerMatcher
7714
7714
AST_MATCHER_P (DecayedType, hasDecayedType, internal::Matcher<QualType>,
7715
7715
InnerType) {
7716
7716
return InnerType.matches (Node.getDecayedType (), Finder, Builder);
@@ -7750,7 +7750,7 @@ extern const AstTypeMatcher<DependentTemplateSpecializationType>
7750
7750
// / }
7751
7751
// / \endcode
7752
7752
// /
7753
- // / \c cxxRcordDecl (hasDeclContext(namedDecl(hasName("M")))) matches the
7753
+ // / \c cxxRecordDecl (hasDeclContext(namedDecl(hasName("M")))) matches the
7754
7754
// / declaration of \c class \c D.
7755
7755
AST_MATCHER_P (Decl, hasDeclContext, internal::Matcher<Decl>, InnerMatcher) {
7756
7756
const DeclContext *DC = Node.getDeclContext ();
@@ -8464,7 +8464,7 @@ AST_MATCHER_P(Stmt, forCallable, internal::Matcher<Decl>, InnerMatcher) {
8464
8464
// / \endcode
8465
8465
// /
8466
8466
// / Example matches f() because it has external formal linkage despite being
8467
- // / unique to the translation unit as though it has internal likage
8467
+ // / unique to the translation unit as though it has internal linkage
8468
8468
// / (matcher = functionDecl(hasExternalFormalLinkage()))
8469
8469
// /
8470
8470
// / \code
0 commit comments