Home
last modified time | relevance | path

Searched refs:DynType (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp162 QualType DynType = DynTypeInfo.getType(); in checkPostStmt() local
165 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
191 reportTypeError(DynType, StaticType, Region, CE, C); in checkPostStmt()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp766 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getDeclForDynamicType() local
767 if (!DynType.isValid()) in getDeclForDynamicType()
770 assert(!DynType.getType()->getPointeeType().isNull()); in getDeclForDynamicType()
771 return {DynType.getType()->getPointeeCXXRecordDecl(), in getDeclForDynamicType()
772 DynType.canBeASubClass()}; in getDeclForDynamicType()
1321 QualType DynType = DTI.getType(); in getRuntimeDefinition() local
1325 dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp6171 std::optional<DynamicType> DynType = ComputeDynamicType( in HandleVirtualDispatch() local
6174 if (!DynType) in HandleVirtualDispatch()
6182 unsigned PathLength = DynType->PathLength; in HandleVirtualDispatch()
6289 std::optional<DynamicType> DynType = in HandleDynamicCast() local
6291 if (!DynType) in HandleDynamicCast()
6298 return CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength); in HandleDynamicCast()
6315 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast()
6316 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast()
6328 << Info.Ctx.getRecordType(DynType->Type) in HandleDynamicCast()
6337 PathLength >= (int)DynType->PathLength; --PathLength) { in HandleDynamicCast()
[all …]