Skip to content

Commit 833839b

Browse files
authored
[ASTMatchers][NFC] improve 'isInteger' docs to show matching of unsigned (#147012)
1 parent 8740ff8 commit 833839b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/include/clang/ASTMatchers/ASTMatchers.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6519,11 +6519,11 @@ AST_POLYMORPHIC_MATCHER(
65196519
/// Given
65206520
/// \code
65216521
/// void a(int);
6522-
/// void b(long);
6522+
/// void b(unsigned long);
65236523
/// void c(double);
65246524
/// \endcode
65256525
/// functionDecl(hasAnyParameter(hasType(isInteger())))
6526-
/// matches "a(int)", "b(long)", but not "c(double)".
6526+
/// matches "a(int)", "b(unsigned long)", but not "c(double)".
65276527
AST_MATCHER(QualType, isInteger) {
65286528
return Node->isIntegerType();
65296529
}

0 commit comments

Comments
 (0)