clang-tools 22.0.0git
|
This check implements the rule 5.6.1 of the HICPP Standard, which disallows bitwise operations on signed integer types. More...
#include <SignedBitwiseCheck.h>
Public Member Functions | |
SignedBitwiseCheck (StringRef Name, ClangTidyContext *Context) | |
void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
void | storeOptions (ClangTidyOptions::OptionMap &Opts) override |
This check implements the rule 5.6.1 of the HICPP Standard, which disallows bitwise operations on signed integer types.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/hicpp/signed-bitwise.html
Definition at line 21 of file SignedBitwiseCheck.h.
clang::tidy::hicpp::SignedBitwiseCheck::SignedBitwiseCheck | ( | StringRef | Name, |
ClangTidyContext * | Context ) |
Definition at line 19 of file SignedBitwiseCheck.cpp.
|
override |
Definition at line 75 of file SignedBitwiseCheck.cpp.
|
override |
Definition at line 30 of file SignedBitwiseCheck.cpp.
|
override |
Definition at line 25 of file SignedBitwiseCheck.cpp.