clang 20.0.0git
|
#include "clang/AST/DeclTemplate.h"
#include "clang/StaticAnalyzer/Checkers/BuiltinCheckerRegistration.h"
#include "clang/StaticAnalyzer/Core/Checker.h"
#include "clang/StaticAnalyzer/Core/CheckerManager.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallDescription.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CallEvent.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h"
#include "clang/StaticAnalyzer/Core/PathSensitive/DynamicType.h"
#include <optional>
#include <utility>
Go to the source code of this file.
|
static |
Definition at line 198 of file CastValueChecker.cpp.
References alignReferenceTypes(), clang::C, clang::Call, clang::ento::SVal::getAsRegion(), clang::ento::getDynamicCastInfo(), getNoteTag(), isInfeasibleCast(), clang::Type::isPointerType(), clang::Type::isReferenceType(), clang::ento::setDynamicTypeAndCastInfo(), clang::ento::DynamicCastInfo::succeeds(), and V.
Referenced by evalNonNullParamNonNullReturn(), evalNonNullParamNullReturn(), evalZeroParamNonNullReturn(), and evalZeroParamNullReturn().
|
static |
Definition at line 259 of file CastValueChecker.cpp.
References alignReferenceTypes(), clang::C, clang::Call, clang::ento::SVal::castAs(), clang::TemplateArgumentList::get(), clang::ento::SVal::getAsRegion(), clang::TemplateArgument::getAsType(), clang::ento::getDynamicCastInfo(), clang::TemplateArgument::getKind(), getNoteTag(), clang::FunctionDecl::getTemplateSpecializationArgs(), clang::Type::isPointerType(), clang::Type::isReferenceType(), clang::TemplateArgument::Pack, clang::TemplateArgument::pack_elements(), clang::ento::setDynamicTypeAndCastInfo(), clang::ento::DynamicCastInfo::succeeds(), clang::Success, and clang::TemplateArgument::Type.
|
static |
Definition at line 184 of file CastValueChecker.cpp.
References clang::QualType::addConst(), clang::ASTContext::getLValueReferenceType(), clang::ASTContext::getRValueReferenceType(), clang::QualType::isConstQualified(), clang::Type::isLValueReferenceType(), and clang::Type::isRValueReferenceType().
Referenced by addCastTransition(), and addInstanceOfTransition().
|
static |
Definition at line 341 of file CastValueChecker.cpp.
References addCastTransition(), clang::C, and clang::Call.
|
static |
Definition at line 349 of file CastValueChecker.cpp.
References addCastTransition(), clang::C, and clang::Call.
|
static |
Definition at line 356 of file CastValueChecker.cpp.
References clang::C, and clang::Call.
|
static |
Definition at line 400 of file CastValueChecker.cpp.
References addCastTransition(), clang::C, and clang::Call.
|
static |
Definition at line 408 of file CastValueChecker.cpp.
References addCastTransition(), clang::C, and clang::Call.
|
static |
Definition at line 105 of file CastValueChecker.cpp.
References clang::C, clang::Type::getAsCXXRecordDecl(), clang::QualType::getAsString(), clang::NamedDecl::getNameAsString(), and clang::ento::DynamicCastInfo::to().
Referenced by addCastTransition(), and addInstanceOfTransition().
|
static |
Definition at line 139 of file CastValueChecker.cpp.
References clang::C, and clang::First.
|
static |
Definition at line 97 of file CastValueChecker.cpp.
References clang::ento::DynamicCastInfo::fails(), and clang::ento::DynamicCastInfo::succeeds().
Referenced by addCastTransition().