clang-tools 22.0.0git
|
Checks if an object of type with extended alignment is allocated by using the default operator new. More...
#include <DefaultOperatorNewAlignmentCheck.h>
Public Member Functions | |
DefaultOperatorNewAlignmentCheck (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 |
Checks if an object of type with extended alignment is allocated by using the default operator new.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/cert/mem57-cpp.html
Definition at line 21 of file DefaultOperatorNewAlignmentCheck.h.
|
inline |
Definition at line 23 of file DefaultOperatorNewAlignmentCheck.h.
|
override |
Definition at line 23 of file DefaultOperatorNewAlignmentCheck.cpp.
|
inlineoverride |
Definition at line 25 of file DefaultOperatorNewAlignmentCheck.h.
|
override |
Definition at line 18 of file DefaultOperatorNewAlignmentCheck.cpp.