clang 22.0.0git
|
Functions | |
static const CXXConstructorDecl * | getConstructorDeclarationForCall (const CallEvent &Call) |
bool | isCopyConstructorCall (const CallEvent &Call) |
bool | isCopyAssignmentCall (const CallEvent &Call) |
bool | isMoveConstructorCall (const CallEvent &Call) |
bool | isMoveAssignmentCall (const CallEvent &Call) |
static bool | isStdType (const Type *Type, llvm::StringRef TypeName) |
bool | isStdVariant (const Type *Type) |
bool | isStdType (const Type *Type, const std::string &TypeName) |
template<class TypeMap> | |
ProgramStateRef | removeInformationStoredForDeadInstances (const CallEvent &Call, ProgramStateRef State, ArrayRef< const MemRegion * > Regions) |
template<class TypeMap> | |
void | handleConstructorAndAssignment (const CallEvent &Call, CheckerContext &C, SVal ThisSVal) |
|
static |
Definition at line 33 of file StdVariantChecker.cpp.
References clang::Call.
Referenced by isCopyConstructorCall(), and isMoveConstructorCall().
void clang::ento::tagged_union_modeling::handleConstructorAndAssignment | ( | const CallEvent & | Call, |
CheckerContext & | C, | ||
SVal | ThisSVal ) |
Definition at line 53 of file TaggedUnionModeling.h.
References clang::C, clang::Call, clang::ento::SVal::getAsRegion(), clang::Type::getPointeeType(), isCopyAssignmentCall(), isCopyConstructorCall(), isMoveAssignmentCall(), and isMoveConstructorCall().
Referenced by StdVariantChecker::evalCall().
Definition at line 48 of file StdVariantChecker.cpp.
References clang::Call.
Referenced by handleConstructorAndAssignment().
Definition at line 41 of file StdVariantChecker.cpp.
References clang::Call, and getConstructorDeclarationForCall().
Referenced by handleConstructorAndAssignment().
Definition at line 66 of file StdVariantChecker.cpp.
References clang::Call.
Referenced by handleConstructorAndAssignment().
Definition at line 57 of file StdVariantChecker.cpp.
References clang::Call, getConstructorDeclarationForCall(), and clang::CXXConstructorDecl::isMoveConstructor().
Referenced by handleConstructorAndAssignment().
bool clang::ento::tagged_union_modeling::isStdType | ( | const Type * | Type, |
const std::string & | TypeName ) |
|
static |
Definition at line 77 of file StdVariantChecker.cpp.
References clang::Type::getAsRecordDecl(), and clang::Decl::isInStdNamespace().
Referenced by isStdVariant().
Definition at line 84 of file StdVariantChecker.cpp.
References isStdType().
ProgramStateRef clang::ento::tagged_union_modeling::removeInformationStoredForDeadInstances | ( | const CallEvent & | Call, |
ProgramStateRef | State, | ||
ArrayRef< const MemRegion * > | Regions ) |
Definition at line 37 of file TaggedUnionModeling.h.
References clang::Call.
Referenced by StdVariantChecker::checkRegionChanges().