Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypeChecker.cpp170 QualType DynType = DynTypeInfo.getType(); in checkPostStmt() local
173 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt()
199 reportTypeError(DynType, StaticType, Region, CE, C); in checkPostStmt()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp740 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getRuntimeDefinition() local
741 if (!DynType.isValid()) in getRuntimeDefinition()
745 QualType RegionType = DynType.getType()->getPointeeType(); in getRuntimeDefinition()
774 if (!DynType.canBeASubClass()) in getRuntimeDefinition()
782 if (DynType.canBeASubClass()) in getRuntimeDefinition()
1273 QualType DynType = DTI.getType(); in getRuntimeDefinition() local
1277 dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DExprConstant.cpp5732 std::optional<DynamicType> DynType = ComputeDynamicType( in HandleVirtualDispatch() local
5735 if (!DynType) in HandleVirtualDispatch()
5743 unsigned PathLength = DynType->PathLength; in HandleVirtualDispatch()
5850 std::optional<DynamicType> DynType = in HandleDynamicCast() local
5852 if (!DynType) in HandleDynamicCast()
5859 return CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength); in HandleDynamicCast()
5876 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast()
5877 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast()
5889 << Info.Ctx.getRecordType(DynType->Type) in HandleDynamicCast()
5898 PathLength >= (int)DynType->PathLength; --PathLength) { in HandleDynamicCast()
[all …]