Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCallEvent.cpp704 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getRuntimeDefinition() local
705 if (!DynType.isValid()) in getRuntimeDefinition()
709 QualType RegionType = DynType.getType()->getPointeeType(); in getRuntimeDefinition()
738 if (!DynType.canBeASubClass()) in getRuntimeDefinition()
746 if (DynType.canBeASubClass()) in getRuntimeDefinition()
1237 QualType DynType = DTI.getType(); in getRuntimeDefinition() local
1241 dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp5727 if (!DynType) in HandleVirtualDispatch()
5735 unsigned PathLength = DynType->PathLength; in HandleVirtualDispatch()
5842 Optional<DynamicType> DynType = in HandleDynamicCast() local
5844 if (!DynType) in HandleDynamicCast()
5851 return CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength); in HandleDynamicCast()
5869 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast()
5881 << Info.Ctx.getRecordType(DynType->Type) in HandleDynamicCast()
5895 if (PathLength > (int)DynType->PathLength && in HandleDynamicCast()
5908 if (!CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength)) in HandleDynamicCast()
8427 Optional<DynamicType> DynType = in VisitCXXTypeidExpr() local
[all …]