clang-tools 22.0.0git
|
Eliminate redundant dereferences of a function pointer. More...
#include <RedundantFunctionPtrDereferenceCheck.h>
Public Member Functions | |
RedundantFunctionPtrDereferenceCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Eliminate redundant dereferences of a function pointer.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/redundant-function-ptr-dereference.html
Definition at line 20 of file RedundantFunctionPtrDereferenceCheck.h.
|
inline |
Definition at line 22 of file RedundantFunctionPtrDereferenceCheck.h.
|
override |
Definition at line 26 of file RedundantFunctionPtrDereferenceCheck.cpp.
|
override |
Definition at line 16 of file RedundantFunctionPtrDereferenceCheck.cpp.