|
clang 22.0.0git
|
#include "clang/ASTMatchers/ASTMatchFinder.h"
Public Member Functions | |
| void | run (const MatchFinder::MatchResult &Result) override |
Called on every match by the MatchFinder. | |
| std::optional< TraversalKind > | getCheckTraversalKind () const override |
| TraversalKind to use while matching and processing the result nodes. | |
| Public Member Functions inherited from clang::ast_matchers::MatchFinder::MatchCallback | |
| virtual | ~MatchCallback () |
| virtual void | onStartOfTranslationUnit () |
| Called at the start of each translation unit. | |
| virtual void | onEndOfTranslationUnit () |
| Called at the end of each translation unit. | |
| virtual StringRef | getID () const |
| An id used to group the matchers. | |
Public Attributes | |
| SmallVector< BoundNodes, 1 > | Nodes |
Definition at line 292 of file ASTMatchFinder.h.
|
inlineoverridevirtual |
TraversalKind to use while matching and processing the result nodes.
This API is temporary to facilitate third parties porting existing code to the default behavior of clang-tidy.
Reimplemented from clang::ast_matchers::MatchFinder::MatchCallback.
Definition at line 298 of file ASTMatchFinder.h.
|
inlineoverridevirtual |
Called on every match by the MatchFinder.
Implements clang::ast_matchers::MatchFinder::MatchCallback.
Definition at line 294 of file ASTMatchFinder.h.
References Nodes, and clang::Result.
| SmallVector<BoundNodes, 1> clang::ast_matchers::internal::CollectMatchesCallback::Nodes |
Definition at line 302 of file ASTMatchFinder.h.
Referenced by run().