https://github.com/vbvictor created https://github.com/llvm/llvm-project/pull/147012
None >From 5d172003421b0f45f2aeabb50f3890a3d98c8aa1 Mon Sep 17 00:00:00 2001 From: Victor Baranov <bar.victor.2...@gmail.com> Date: Fri, 4 Jul 2025 10:36:38 +0300 Subject: [PATCH] [ASTMatchers][NFC] improve docs of 'isInteger' to show matching of unsigned --- clang/include/clang/ASTMatchers/ASTMatchers.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/include/clang/ASTMatchers/ASTMatchers.h b/clang/include/clang/ASTMatchers/ASTMatchers.h index e4d605d165324..bae004896c11f 100644 --- a/clang/include/clang/ASTMatchers/ASTMatchers.h +++ b/clang/include/clang/ASTMatchers/ASTMatchers.h @@ -6519,11 +6519,11 @@ AST_POLYMORPHIC_MATCHER( /// Given /// \code /// void a(int); -/// void b(long); +/// void b(unsigned long); /// void c(double); /// \endcode /// functionDecl(hasAnyParameter(hasType(isInteger()))) -/// matches "a(int)", "b(long)", but not "c(double)". +/// matches "a(int)", "b(unsigned long)", but not "c(double)". AST_MATCHER(QualType, isInteger) { return Node->isIntegerType(); } _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits