Warn when a pointer function parameter can be const.
More...
#include <NonConstParameterCheck.h>
Warn when a pointer function parameter can be const.
For the user-facing documentation see: https://clang.llvm.org/extra/clang-tidy/checks/readability/non-const-parameter.html
Definition at line 20 of file NonConstParameterCheck.h.
◆ NonConstParameterCheck()
clang::tidy::readability::NonConstParameterCheck::NonConstParameterCheck |
( |
StringRef | Name, |
|
|
ClangTidyContext * | Context ) |
|
inline |
◆ check()
void clang::tidy::readability::NonConstParameterCheck::check |
( |
const ast_matchers::MatchFinder::MatchResult & | Result | ) |
|
|
override |
◆ getCheckTraversalKind()
std::optional< TraversalKind > clang::tidy::readability::NonConstParameterCheck::getCheckTraversalKind |
( |
| ) |
const |
|
inlineoverride |
◆ onEndOfTranslationUnit()
void clang::tidy::readability::NonConstParameterCheck::onEndOfTranslationUnit |
( |
| ) |
|
|
override |
◆ registerMatchers()
void clang::tidy::readability::NonConstParameterCheck::registerMatchers |
( |
ast_matchers::MatchFinder * | Finder | ) |
|
|
override |
The documentation for this class was generated from the following files: