Acts on BinaryOperator and UnaryOperator and functions the same as anyOf(hasOperatorName(...), hasOperatorName(...), ...)
Documentation generation isn't perfect but I feel that the python doc script needs updating for that
Paths
| Differential D75040
[ASTMatchers] Adds a matcher called `hasAnyOperatorName` ClosedPublic Authored by njames93 on Feb 24 2020, 4:48 AM.
Details Summary Acts on BinaryOperator and UnaryOperator and functions the same as anyOf(hasOperatorName(...), hasOperatorName(...), ...) Documentation generation isn't perfect but I feel that the python doc script needs updating for that
Diff Detail
Event Timelinegribozavr2 added inline comments.
This revision is now accepted and ready to land.Feb 24 2020, 5:33 AM Comment Actions LGTM
njames93 added inline comments.
njames93 added inline comments.
njames93 marked 3 inline comments as done. Comment ActionsI have fixed up the docs to be more in line with other matchers This revision is now accepted and ready to land.Feb 24 2020, 11:25 PM Closed by commit rG6a0c066c6102: [ASTMatchers] Adds a matcher called `hasAnyOperatorName` (authored by njames93). · Explain WhyFeb 24 2020, 11:56 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 246375 clang/docs/LibASTMatchersReference.html
clang/docs/tools/dump_ast_matchers.py
clang/include/clang/ASTMatchers/ASTMatchers.h
clang/include/clang/ASTMatchers/ASTMatchersInternal.h
clang/lib/ASTMatchers/ASTMatchersInternal.cpp
clang/lib/ASTMatchers/Dynamic/Registry.cpp
clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp
|
Any specific things you would like to improve? The fixme is rather vague.