Home
last modified time | relevance | path

Searched refs:IsPolymorphic (Results 1 – 25 of 25) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DPointerArithChecker.cpp164 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 Dast-dump-record-definition-data.cpp104 struct IsPolymorphic { struct
H A Dast-dump-record-definition-data-json.cpp63 struct IsPolymorphic { struct
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp333 return AreCompatibleDerivedTypes(xdt, ydt, x.IsPolymorphic()) && in AreCompatibleTypes()
363 } else if (that.IsPolymorphic()) { in ExtendsTypeOf()
452 return IsPolymorphic() || IsNonConstantLengthCharacter() || in RequiresDescriptor()
H A Dinitial-image.cpp78 CHECK(!type.IsPolymorphic());
H A Dcharacteristics.cpp351 } 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 Dintrinsics.cpp2154 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 DRegistry.cpp690 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 Dcheck-declarations.cpp300 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 Dtools.cpp769 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 Dcheck-call.cpp40 } 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 Dassignment.cpp198 if (type->IsPolymorphic()) { in CheckForPureContext()
H A Dscope.cpp238 return &MakeDerivedType(dyType->IsPolymorphic() in GetType()
H A Dcheck-do-forall.cpp235 if ((entityType && entityType->IsPolymorphic()) || // POINTER case in Post()
H A Dresolve-names.cpp3964 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 Dexpression.cpp1981 (!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 Dtype.h170 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 DAllocatable.cpp372 !alloc.type.IsPolymorphic() && !alloc.hasCoarraySpec() && in genSimpleAllocation()
395 if (alloc.type.IsPolymorphic()) in genSimpleAllocation()
H A DConvertType.cpp236 } else if (type->IsPolymorphic()) { in genSymbolType()
H A DBridge.cpp448 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 DCallInterface.cpp777 if (obj.type.type().IsPolymorphic()) in dummyRequiresBox()
793 if (dynamicType.IsPolymorphic()) in translateDynamicType()
H A DHostAssociations.cpp426 bool isPolymorphic = type && type->IsPolymorphic(); in canReadCapturedBoxValue()
H A DConvertVariable.cpp1097 if (type->IsPolymorphic()) in lowerToBoxValue()
/llvm-project-15.0.7/flang/include/flang/Semantics/
H A Dtype.h354 bool IsPolymorphic() const { in IsPolymorphic() function
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTokenKinds.def502 TYPE_TRAIT_1(__is_polymorphic, IsPolymorphic, KEYCXX)