clang-tools 22.0.0git
|
Replaces a static_assert declaration with an empty message with the unary version. More...
#include <UnaryStaticAssertCheck.h>
Public Member Functions | |
UnaryStaticAssertCheck (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 |
Replaces a static_assert declaration with an empty message with the unary version.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/modernize/unary-static-assert.html
Definition at line 21 of file UnaryStaticAssertCheck.h.
|
inline |
Definition at line 23 of file UnaryStaticAssertCheck.h.
|
override |
Definition at line 20 of file UnaryStaticAssertCheck.cpp.
|
inlineoverride |
Definition at line 25 of file UnaryStaticAssertCheck.h.
|
override |
Definition at line 16 of file UnaryStaticAssertCheck.cpp.