Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftCXXABI.cpp217 if (RD->isPolymorphic() && !Base->isPolymorphic()) in usesMultipleInheritanceModel()
243 (hasDefinition() && isPolymorphic()); in nullFieldOffsetIsZero()
H A DCXXInheritance.cpp523 if (!BaseDecl->isPolymorphic()) in Collect()
H A DRecordLayoutBuilder.cpp2304 if (!RD->isPolymorphic()) in computeKeyFunction()
2802 HasPolymorphicBaseClass |= BaseDecl->isPolymorphic(); in layoutNonVirtualBases()
2826 if (RD->isPolymorphic()) { in layoutNonVirtualBases()
H A DVTableBuilder.cpp387 if (!BaseDecl->isPolymorphic()) in dump()
2945 if (!RD->isPolymorphic()) in AddMethods()
H A DExprCXX.cpp143 if (RD->isPolymorphic() && E->isGLValue()) in isPotentiallyEvaluated()
H A DJSONNodeDumper.cpp485 FIELD1(isPolymorphic); in createCXXRecordDefinitionData()
H A DTextNodeDumper.cpp1964 FLAG(isPolymorphic, polymorphic); in VisitCXXRecordDecl()
H A DDeclCXX.cpp277 if (BaseClassDecl->isPolymorphic()) { in setBases()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/cppcoreguidelines/
H A DProTypeStaticCastDowncastCheck.cpp38 if (SourceDecl->isPolymorphic()) in check()
H A DProTypeCstyleCastCheck.cpp59 if (SourceDecl->isPolymorphic()) { in check()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/utils/
H A DTypeTraits.cpp66 if (ClassDecl->isPolymorphic()) in recordIsTriviallyDefaultConstructible()
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dtype.cpp306 const semantics::DerivedTypeSpec *y, bool isPolymorphic) { in AreCompatibleDerivedTypes() argument
314 return isPolymorphic && in AreCompatibleDerivedTypes()
/llvm-project-15.0.7/flang/lib/Lower/
H A DHostAssociations.cpp426 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 DMarshallers.h349 virtual bool isPolymorphic() const { return false; }
924 bool isPolymorphic() const override { return true; }
1049 bool isPolymorphic() const override { return false; }
H A DRegistry.cpp690 bool IsPolymorphic = Matcher.isPolymorphic(); in getMatcherCompletions()
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmicrosoft-abi-member-pointers.cpp321 virtual void isPolymorphic();
/llvm-project-15.0.7/flang/lib/Semantics/
H A Dcheck-declarations.cpp1964 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 DSemaExceptionSpec.cpp1115 if (!cast<CXXRecordDecl>(RT->getDecl())->isPolymorphic()) in canTypeidThrow()
H A DSemaExprCXX.cpp589 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 DSemaCast.cpp887 if (!cast<CXXRecordDecl>(SrcDecl)->isPolymorphic()) { in CheckDynamicCast()
H A DSemaDeclCXX.cpp6799 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 DCGClass.cpp1849 ClassDecl->isPolymorphic()) in EnterDtorCleanups()
1881 ClassDecl->isPolymorphic()) in EnterDtorCleanups()
H A DMicrosoftCXXABI.cpp1101 if (RD->isPolymorphic()) in isTrivialForAArch64MSVC()
/llvm-project-15.0.7/clang/include/clang/AST/
H A DDeclCXX.h1169 bool isPolymorphic() const { return data().Polymorphic; } in isPolymorphic() function
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp3523 return cxx_record_decl->isPolymorphic(); in IsPolymorphicClass()

12