This will be used by the modernize-use-std-print clang-tidy check and
related checks later.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp | ||
---|---|---|
1671 | I'm not sure if this is the best way to trigger testing of the ignoring default argument path in the implementation of argumentCountAtLeast, but it does seem to work. I added explicit TK_AsIs to the tests above to make it clear that they are not testing that path. |
Comment Actions
LGTM, Personally probably I wouldn't extract this to this level, and I would leave it private to a check, but it's fine.
Comment Actions
NOTE: Registry.cpp were not changed, I will add it there during commit if all tests locally pass. If tests fail, I will just add this matcher as private in clang-tidy check.
I'm not sure if this is the best way to trigger testing of the ignoring default argument path in the implementation of argumentCountAtLeast, but it does seem to work. I added explicit TK_AsIs to the tests above to make it clear that they are not testing that path.