[ASTMatchers] Add argumentCountAtLeast narrowing matcher
authorMike Crowe <mac@mcrowe.com>
Sun, 25 Jun 2023 16:41:48 +0000 (16:41 +0000)
committerPiotr Zegar <me@piotrzegar.pl>
Sun, 25 Jun 2023 18:41:55 +0000 (18:41 +0000)
commit2ae8a4a17888f739c1082f52eed56887c2004908
tree1ae40891980c89db2525d6020648b7dac26ea0ef
parentb851308b870a67ccb606d0d33f159a70fd3522c7
[ASTMatchers] Add argumentCountAtLeast narrowing matcher

This will be used by the modernize-use-std-print clang-tidy check and
related checks later.

Reviewed By: PiotrZSL

Differential Revision: https://reviews.llvm.org/D153716
clang/docs/LibASTMatchersReference.html
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp