Home
last modified time | relevance | path

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

/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp164 QualType DynType = DynTypeInfo.getType(); in checkPostStmt() local
167 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
193 reportTypeError(DynType, StaticType, Region, CE, C); in checkPostStmt()
/src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp767 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getRuntimeDefinition() local
768 if (!DynType.isValid()) in getRuntimeDefinition()
772 QualType RegionType = DynType.getType()->getPointeeType(); in getRuntimeDefinition()
802 if (!DynType.canBeASubClass()) in getRuntimeDefinition()
810 if (DynType.canBeASubClass()) in getRuntimeDefinition()
1301 QualType DynType = DTI.getType(); in getRuntimeDefinition() local
1305 dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition()
/src/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp5878 std::optional<DynamicType> DynType = ComputeDynamicType( in HandleVirtualDispatch() local
5881 if (!DynType) in HandleVirtualDispatch()
5889 unsigned PathLength = DynType->PathLength; in HandleVirtualDispatch()
5996 std::optional<DynamicType> DynType = in HandleDynamicCast() local
5998 if (!DynType) in HandleDynamicCast()
6005 return CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength); in HandleDynamicCast()
6022 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast()
6023 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast()
6035 << Info.Ctx.getRecordType(DynType->Type) in HandleDynamicCast()
6044 PathLength >= (int)DynType->PathLength; --PathLength) { in HandleDynamicCast()
[all …]