Go to the source code of this file.
◆ REGISTER_CHECKER
#define REGISTER_CHECKER |
( |
|
name | ) |
|
Value:
CStringChecker *checker = mgr.
getChecker<CStringChecker>(); \
checker->Filter.Check##name = true; \
} \
\
bool ento::shouldRegister##name(
const CheckerManager &mgr) {
return true; }
CheckerNameRef getCurrentCheckerName() const
Definition at line 2844 of file CStringChecker.cpp.
◆ getIndex()
Definition at line 404 of file CStringChecker.cpp.
References clang::ento::SVal::castAs(), clang::ASTContext::CharTy, clang::ento::SValBuilder::evalBinOpNN(), clang::ento::SValBuilder::getContext(), clang::ento::ElementRegion::getIndex(), clang::CharUnits::getQuantity(), clang::ASTContext::getSizeType(), clang::ASTContext::getTypeSizeInChars(), clang::ento::ElementRegion::getValueType(), clang::ento::SValBuilder::makeIntVal(), and clang::ASTContext::WideCharTy.
Referenced by clang::TemplateTypeParmType::Profile(), and clang::SubstTemplateTypeParmType::Profile().
◆ printIdxWithOrdinalSuffix()
static void printIdxWithOrdinalSuffix |
( |
llvm::raw_ostream & |
Os, |
|
|
unsigned |
Idx |
|
) |
| |
|
static |