| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | PointerArithChecker.cpp | 164 bool IsPolymorphic = false; in reportPointerArithMisuse() local 167 getArrayRegion(Region, IsPolymorphic, Kind, C)) { in reportPointerArithMisuse() 168 if (!IsPolymorphic) in reportPointerArithMisuse()
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | ast-dump-record-definition-data.cpp | 104 struct IsPolymorphic { struct
|
| H A D | ast-dump-record-definition-data-json.cpp | 63 struct IsPolymorphic { struct
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | type.cpp | 333 return AreCompatibleDerivedTypes(xdt, ydt, x.IsPolymorphic()) && in AreCompatibleTypes() 363 } else if (that.IsPolymorphic()) { in ExtendsTypeOf() 452 return IsPolymorphic() || IsNonConstantLengthCharacter() || in RequiresDescriptor()
|
| H A D | initial-image.cpp | 78 CHECK(!type.IsPolymorphic());
|
| H A D | characteristics.cpp | 351 } else if (type.type().IsPolymorphic()) { in CanBePassedViaImplicitInterface() 846 if (!type.IsPolymorphic()) { in CanBeReturnedViaImplicitInterface() 1321 x.type.type().IsPolymorphic() != y.type.type().IsPolymorphic())) { in Distinguishable()
|
| H A D | intrinsics.cpp | 2154 type->IsPolymorphic() || in HandleC_F_Pointer() 2474 } else if (result->type().IsPolymorphic() || in ApplySpecificChecks() 2499 !data[j]->type.type().IsPolymorphic() && in ApplySpecificChecks()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 690 bool IsPolymorphic = Matcher.isPolymorphic(); in getMatcherCompletions() local 711 if (IsPolymorphic) in getMatcherCompletions() 724 if (IsPolymorphic) in getMatcherCompletions() 740 if (IsPolymorphic) { in getMatcherCompletions()
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-declarations.cpp | 300 if (type->IsPolymorphic() && IsAllocatable(symbol)) { // C1585 in Check() 537 if (type && type->IsPolymorphic()) { // C1588 in CheckObjectEntity() 543 return type && type->IsPolymorphic(); in CheckObjectEntity() 630 if (type->IsPolymorphic() && in CheckObjectEntity() 1101 if (ddo->type.type().IsPolymorphic()) { in CheckFinal() 1605 if (IsExtensibleType(derived) != type->IsPolymorphic()) { in CheckPassArg() 1607 type->IsPolymorphic() in CheckPassArg() 1964 bool isPolymorphic{type->IsPolymorphic()}; in CheckDioDummyIsDerived()
|
| H A D | tools.cpp | 769 return type && type->IsPolymorphic(); in FindPolymorphicPotentialComponent() 779 if (type->IsPolymorphic()) { in IsOrContainsPolymorphicComponent() 1037 bool IsPolymorphic(const Symbol &symbol) { in IsPolymorphic() function 1039 return type->IsPolymorphic(); in IsPolymorphic() 1045 return IsAllocatable(symbol) && IsPolymorphic(symbol); in IsPolymorphicAllocatable()
|
| H A D | check-call.cpp | 40 } else if (type->IsPolymorphic()) { in CheckImplicitInterfaceArg() 220 bool actualIsPolymorphic{actualType.type().IsPolymorphic()}; in CheckExplicitDataArg() 221 bool dummyIsPolymorphic{dummy.type.type().IsPolymorphic()}; in CheckExplicitDataArg()
|
| H A D | assignment.cpp | 198 if (type->IsPolymorphic()) { in CheckForPureContext()
|
| H A D | scope.cpp | 238 return &MakeDerivedType(dyType->IsPolymorphic() in GetType()
|
| H A D | check-do-forall.cpp | 235 if ((entityType && entityType->IsPolymorphic()) || // POINTER case in Post()
|
| H A D | resolve-names.cpp | 3964 if (type->IsPolymorphic()) { in Pre() 5557 if (type->IsPolymorphic() && IsDummy(symbol) && in PassesLocalityChecks() 6157 if (exprType && !exprType->IsPolymorphic()) { // C1159 in Post() 6172 if (!type->IsPolymorphic()) { // C1159 in Post() 6375 type.IsPolymorphic() ? DeclTypeSpec::ClassDerived in ToDeclTypeSpec()
|
| H A D | expression.cpp | 1981 (!baseType || baseType->IsPolymorphic())) { in GetBindingResolution() 3843 : type->IsPolymorphic() ? "CLASS("s + type->AsFortran() + ')' in TypeAsFortran()
|
| /llvm-project-15.0.7/flang/include/flang/Evaluate/ |
| H A D | type.h | 170 constexpr bool IsPolymorphic() const { // TYPE(*) or CLASS() in IsPolymorphic() function 174 return IsPolymorphic() && !derived_; in IsUnlimitedPolymorphic()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | Allocatable.cpp | 372 !alloc.type.IsPolymorphic() && !alloc.hasCoarraySpec() && in genSimpleAllocation() 395 if (alloc.type.IsPolymorphic()) in genSimpleAllocation()
|
| H A D | ConvertType.cpp | 236 } else if (type->IsPolymorphic()) { in genSymbolType()
|
| H A D | Bridge.cpp | 448 if (type && type->IsPolymorphic()) in createHostAssociateVarClone() 2209 if (lhsType->IsPolymorphic() && in genAssignment() 2312 if ((lhsType && lhsType->IsPolymorphic()) || in genAssignment() 2313 (rhsType && rhsType->IsPolymorphic())) in genAssignment() 2340 if ((lhsType && lhsType->IsPolymorphic()) || in genAssignment() 2341 (rhsType && rhsType->IsPolymorphic())) in genAssignment()
|
| H A D | CallInterface.cpp | 777 if (obj.type.type().IsPolymorphic()) in dummyRequiresBox() 793 if (dynamicType.IsPolymorphic()) in translateDynamicType()
|
| H A D | HostAssociations.cpp | 426 bool isPolymorphic = type && type->IsPolymorphic(); in canReadCapturedBoxValue()
|
| H A D | ConvertVariable.cpp | 1097 if (type->IsPolymorphic()) in lowerToBoxValue()
|
| /llvm-project-15.0.7/flang/include/flang/Semantics/ |
| H A D | type.h | 354 bool IsPolymorphic() const { in IsPolymorphic() function
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 502 TYPE_TRAIT_1(__is_polymorphic, IsPolymorphic, KEYCXX)
|