clang-tools 22.0.0git
|
This check flags all array to pointer decays. More...
#include <ProBoundsArrayToPointerDecayCheck.h>
Public Member Functions | |
ProBoundsArrayToPointerDecayCheck (StringRef Name, ClangTidyContext *Context) | |
bool | isLanguageVersionSupported (const LangOptions &LangOpts) const override |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
This check flags all array to pointer decays.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/cppcoreguidelines/pro-bounds-array-to-pointer-decay.html
Definition at line 20 of file ProBoundsArrayToPointerDecayCheck.h.
|
inline |
Definition at line 22 of file ProBoundsArrayToPointerDecayCheck.h.
|
override |
Definition at line 71 of file ProBoundsArrayToPointerDecayCheck.cpp.
|
inlineoverride |
Definition at line 24 of file ProBoundsArrayToPointerDecayCheck.h.
|
override |
Definition at line 50 of file ProBoundsArrayToPointerDecayCheck.cpp.