@@ -8031,7 +8031,8 @@ AST_MATCHER_P(ImplicitCastExpr, hasImplicitDestinationType,
8031
8031
// / \endcode
8032
8032
// / \compile_args{-std=c++}
8033
8033
// / The matcher \matcher{tagDecl(isStruct())} matches \match{struct S},
8034
- // / but does not match \nomatch{class C}, \nomatch{union U} or \nomatch{enum E {}}.
8034
+ // / but does not match \nomatch{class C}, \nomatch{union U} or
8035
+ // / \nomatch{enum E {}}.
8035
8036
AST_MATCHER (TagDecl, isStruct) {
8036
8037
return Node.isStruct ();
8037
8038
}
@@ -8046,8 +8047,9 @@ AST_MATCHER(TagDecl, isStruct) {
8046
8047
// / enum E {};
8047
8048
// / \endcode
8048
8049
// / \compile_args{-std=c++}
8049
- // / The matcher \matcher{tagDecl(isUnion())} matches \match{union U}, but does
8050
- // / not match \nomatch{struct S}, \nomatch{class C} or \nomatch{enum E {}}.
8050
+ // / The matcher \matcher{tagDecl(isUnion())} matches \match{union U},
8051
+ // / but does not match \nomatch{struct S}, \nomatch{class C} or
8052
+ // / \nomatch{enum E {}}.
8051
8053
AST_MATCHER (TagDecl, isUnion) {
8052
8054
return Node.isUnion ();
8053
8055
}
@@ -8062,8 +8064,9 @@ AST_MATCHER(TagDecl, isUnion) {
8062
8064
// / enum E {};
8063
8065
// / \endcode
8064
8066
// / \compile_args{-std=c++}
8065
- // / The matcher \matcher{tagDecl(isClass())} matches \match{class C}, but does
8066
- // / not match \nomatch{struct S}, \nomatch{union U} or \nomatch{enum E {}}.
8067
+ // / The matcher \matcher{tagDecl(isClass())} matches \match{class C},
8068
+ // / but does not match \nomatch{struct S}, \nomatch{union U} or
8069
+ // / \nomatch{enum E {}}.
8067
8070
AST_MATCHER (TagDecl, isClass) {
8068
8071
return Node.isClass ();
8069
8072
}
0 commit comments