clang-tools 22.0.0git
|
Finds instances where an integer is assigned to a string. More...
#include <StringIntegerAssignmentCheck.h>
Public Member Functions | |
StringIntegerAssignmentCheck (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 |
Finds instances where an integer is assigned to a string.
For more details see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/string-integer-assignment.html
Definition at line 20 of file StringIntegerAssignmentCheck.h.
|
inline |
Definition at line 22 of file StringIntegerAssignmentCheck.h.
|
override |
Definition at line 127 of file StringIntegerAssignmentCheck.cpp.
References clang::tidy::bugprone::CharExpressionDetector::isLikelyCharExpression().
|
inlineoverride |
Definition at line 24 of file StringIntegerAssignmentCheck.h.
|
override |
Definition at line 18 of file StringIntegerAssignmentCheck.cpp.