|
clang-tools 23.0.0git
|
Finds assignments within selection statements. More...
#include <AssignmentInSelectionStatementCheck.h>
Public Member Functions | |
| AssignmentInSelectionStatementCheck (StringRef Name, ClangTidyContext *Context) | |
| void | registerMatchers (ast_matchers::MatchFinder *Finder) override |
| void | check (const ast_matchers::MatchFinder::MatchResult &Result) override |
Finds assignments within selection statements.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/bugprone/assignment-in-selection-statement.html
Definition at line 20 of file AssignmentInSelectionStatementCheck.h.
|
inline |
Definition at line 22 of file AssignmentInSelectionStatementCheck.h.
|
override |
Definition at line 112 of file AssignmentInSelectionStatementCheck.cpp.
|
override |
Definition at line 78 of file AssignmentInSelectionStatementCheck.cpp.