| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 217 if (RD->isPolymorphic() && !Base->isPolymorphic()) in usesMultipleInheritanceModel() 243 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
|
| H A D | CXXInheritance.cpp | 523 if (!BaseDecl->isPolymorphic()) in Collect()
|
| H A D | RecordLayoutBuilder.cpp | 2304 if (!RD->isPolymorphic()) in computeKeyFunction() 2802 HasPolymorphicBaseClass |= BaseDecl->isPolymorphic(); in layoutNonVirtualBases() 2826 if (RD->isPolymorphic()) { in layoutNonVirtualBases()
|
| H A D | VTableBuilder.cpp | 387 if (!BaseDecl->isPolymorphic()) in dump() 2945 if (!RD->isPolymorphic()) in AddMethods()
|
| H A D | ExprCXX.cpp | 143 if (RD->isPolymorphic() && E->isGLValue()) in isPotentiallyEvaluated()
|
| H A D | JSONNodeDumper.cpp | 485 FIELD1(isPolymorphic); in createCXXRecordDefinitionData()
|
| H A D | TextNodeDumper.cpp | 1964 FLAG(isPolymorphic, polymorphic); in VisitCXXRecordDecl()
|
| H A D | DeclCXX.cpp | 277 if (BaseClassDecl->isPolymorphic()) { in setBases()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
| H A D | ProTypeStaticCastDowncastCheck.cpp | 38 if (SourceDecl->isPolymorphic()) in check()
|
| H A D | ProTypeCstyleCastCheck.cpp | 59 if (SourceDecl->isPolymorphic()) { in check()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/ |
| H A D | TypeTraits.cpp | 66 if (ClassDecl->isPolymorphic()) in recordIsTriviallyDefaultConstructible()
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | type.cpp | 306 const semantics::DerivedTypeSpec *y, bool isPolymorphic) { in AreCompatibleDerivedTypes() argument 314 return isPolymorphic && in AreCompatibleDerivedTypes()
|
| /llvm-project-15.0.7/flang/lib/Lower/ |
| H A D | HostAssociations.cpp | 426 bool isPolymorphic = type && type->IsPolymorphic(); in canReadCapturedBoxValue() local 427 return isScalarOrContiguous && !isPolymorphic && in canReadCapturedBoxValue()
|
| /llvm-project-15.0.7/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.h | 349 virtual bool isPolymorphic() const { return false; } 924 bool isPolymorphic() const override { return true; } 1049 bool isPolymorphic() const override { return false; }
|
| H A D | Registry.cpp | 690 bool IsPolymorphic = Matcher.isPolymorphic(); in getMatcherCompletions()
|
| /llvm-project-15.0.7/clang/test/CodeGenCXX/ |
| H A D | microsoft-abi-member-pointers.cpp | 321 virtual void isPolymorphic();
|
| /llvm-project-15.0.7/flang/lib/Semantics/ |
| H A D | check-declarations.cpp | 1964 bool isPolymorphic{type->IsPolymorphic()}; in CheckDioDummyIsDerived() local 1965 if (isPolymorphic != IsExtensibleType(derivedType)) { in CheckDioDummyIsDerived() 1968 arg.name(), isPolymorphic ? "TYPE()" : "CLASS()", in CheckDioDummyIsDerived() 1969 isPolymorphic ? "not extensible" : "extensible"); in CheckDioDummyIsDerived()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaExceptionSpec.cpp | 1115 if (!cast<CXXRecordDecl>(RT->getDecl())->isPolymorphic()) in canTypeidThrow()
|
| H A D | SemaExprCXX.cpp | 589 if (RecordD->isPolymorphic() && E->isGLValue()) { in BuildCXXTypeId() 3878 if (!PointeeRD->isPolymorphic() || PointeeRD->hasAttr<FinalAttr>()) in CheckVirtualDtorCall() 4963 return !RD->isUnion() && RD->isPolymorphic(); in EvaluateUnaryTypeTrait()
|
| H A D | SemaCast.cpp | 887 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()
|
| H A D | SemaDeclCXX.cpp | 6799 if (Record->isPolymorphic() && !Record->isDependentType()) { in CheckCompletedCXXClass() 7019 (Record->isPolymorphic() || Record->getNumBases())) { in CheckCompletedCXXClass() 10080 if (RD.isPolymorphic()) { in checkIllFormedTrivialABIStruct()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGClass.cpp | 1849 ClassDecl->isPolymorphic()) in EnterDtorCleanups() 1881 ClassDecl->isPolymorphic()) in EnterDtorCleanups()
|
| H A D | MicrosoftCXXABI.cpp | 1101 if (RD->isPolymorphic()) in isTrivialForAArch64MSVC()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclCXX.h | 1169 bool isPolymorphic() const { return data().Polymorphic; } in isPolymorphic() function
|
| /llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 3523 return cxx_record_decl->isPolymorphic(); in IsPolymorphicClass()
|