Searched refs:DynType (Results 1 – 5 of 5) sorted by relevance
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 170 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()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DynamicTypeChecker.cpp | 179 QualType DynType = DynTypeInfo.getType(); in checkPostStmt() local 182 const auto *DynObjCType = DynType->getAs<ObjCObjectPointerType>(); in checkPostStmt() 208 reportTypeError(DynType, StaticType, Region, CE, C); in checkPostStmt()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 488 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getRuntimeDefinition() local 489 if (!DynType.isValid()) in getRuntimeDefinition() 493 QualType RegionType = DynType.getType()->getPointeeType(); in getRuntimeDefinition() 527 if (DynType.canBeASubClass()) in getRuntimeDefinition() 917 QualType DynType = DTI.getType(); in getRuntimeDefinition() local 919 ReceiverT = dyn_cast<ObjCObjectPointerType>(DynType); in getRuntimeDefinition()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | CallEvent.cpp | 736 DynamicTypeInfo DynType = getDynamicTypeInfo(getState(), R); in getRuntimeDefinition() local 737 if (!DynType.isValid()) in getRuntimeDefinition() 741 QualType RegionType = DynType.getType()->getPointeeType(); in getRuntimeDefinition() 770 if (!DynType.canBeASubClass()) in getRuntimeDefinition() 778 if (DynType.canBeASubClass()) in getRuntimeDefinition() 1268 QualType DynType = DTI.getType(); in getRuntimeDefinition() local 1272 dyn_cast<ObjCObjectPointerType>(DynType.getCanonicalType()); in getRuntimeDefinition()
|
/external/llvm-project/clang/lib/AST/ |
D | ExprConstant.cpp | 5631 Optional<DynamicType> DynType = ComputeDynamicType( in HandleVirtualDispatch() local 5634 if (!DynType) in HandleVirtualDispatch() 5642 unsigned PathLength = DynType->PathLength; in HandleVirtualDispatch() 5749 Optional<DynamicType> DynType = in HandleDynamicCast() local 5751 if (!DynType) in HandleDynamicCast() 5758 return CastToDerivedClass(Info, E, Ptr, DynType->Type, DynType->PathLength); in HandleDynamicCast() 5775 if (!Paths && (declaresSameEntity(DynType->Type, C) || in HandleDynamicCast() 5776 DynType->Type->isDerivedFrom(C))) in HandleDynamicCast() 5788 << Info.Ctx.getRecordType(DynType->Type) in HandleDynamicCast() 5797 PathLength >= (int)DynType->PathLength; --PathLength) { in HandleDynamicCast() [all …]
|