Home
last modified time | relevance | path

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

12

/external/clang/test/CXX/special/class.ctor/
Dp5-0x.cpp152 #define ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \ argument
153 class Class Bases { Body }; \
155 #define ASSERT_NONTRIVIAL(Class, Bases, Body) \ argument
156 ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
157 ASSERT_NONTRIVIAL_IMPL(Def ## Class, Bases, Def ## Class() = default; Body) \
158 ASSERT_NONTRIVIAL_IMPL(Del ## Class, Bases, Del ## Class() = delete; Body)
/external/llvm/lib/CodeGen/SelectionDAG/
DStatepointLowering.cpp253 static void removeDuplicatesGCPtrs(SmallVectorImpl<const Value *> &Bases, in removeDuplicatesGCPtrs() argument
266 NewBases.push_back(Bases[i]); in removeDuplicatesGCPtrs()
272 assert(Bases.size() >= NewBases.size()); in removeDuplicatesGCPtrs()
275 Bases = NewBases; in removeDuplicatesGCPtrs()
278 assert(Ptrs.size() == Bases.size()); in removeDuplicatesGCPtrs()
397 SmallVectorImpl<const Value *> &Bases, SmallVectorImpl<const Value *> &Ptrs, in getIncomingStatepointGCValues() argument
402 Bases.push_back(relocateOpers.getBasePtr()); in getIncomingStatepointGCValues()
410 removeDuplicatesGCPtrs(Bases, Ptrs, Relocs, Builder); in getIncomingStatepointGCValues()
412 assert(Bases.size() == Ptrs.size() && Ptrs.size() == Relocs.size()); in getIncomingStatepointGCValues()
500 SmallVector<const Value *, 64> Bases, Ptrs, Relocations; in lowerStatepointMetaArgs() local
[all …]
/external/llvm/tools/llvm-pdbdump/
DClassDefinitionDumper.cpp40 auto Bases = Class.findAllChildren<PDBSymbolTypeBaseClass>(); in start() local
41 if (Bases->getChildCount() > 0) { in start()
46 while (auto Base = Bases->getNext()) { in start()
52 if (++BaseIndex < Bases->getChildCount()) { in start()
/external/clang/lib/Sema/
DSemaCUDA.cpp310 llvm::SmallVector<const CXXBaseSpecifier *, 16> Bases; in inferCUDATargetForImplicitSpecialMember() local
313 Bases.push_back(&B); in inferCUDATargetForImplicitSpecialMember()
319 Bases.push_back(&VB); in inferCUDATargetForImplicitSpecialMember()
323 for (const auto *B : Bases) { in inferCUDATargetForImplicitSpecialMember()
DSemaDeclCXX.cpp1556 bool Sema::AttachBaseSpecifiers(CXXRecordDecl *Class, CXXBaseSpecifier **Bases, in AttachBaseSpecifiers() argument
1576 = Context.getCanonicalType(Bases[idx]->getType()); in AttachBaseSpecifiers()
1584 Diag(Bases[idx]->getLocStart(), in AttachBaseSpecifiers()
1587 << Bases[idx]->getSourceRange(); in AttachBaseSpecifiers()
1591 Context.Deallocate(Bases[idx]); in AttachBaseSpecifiers()
1596 KnownBase = Bases[idx]; in AttachBaseSpecifiers()
1597 Bases[NumGoodBases++] = Bases[idx]; in AttachBaseSpecifiers()
1622 Class->setBases(Bases, NumGoodBases); in AttachBaseSpecifiers()
1626 QualType BaseType = Bases[idx]->getType(); in AttachBaseSpecifiers()
1639 Diag(Bases[idx]->getLocStart (), diag::warn_inaccessible_base_class) in AttachBaseSpecifiers()
[all …]
DSemaExprMember.cpp34 const BaseSet &Bases) { in isProvablyNotDerivedFrom() argument
35 auto BaseIsNotInSet = [&Bases](const CXXRecordDecl *Base) { in isProvablyNotDerivedFrom()
36 return !Bases.count(Base->getCanonicalDecl()); in isProvablyNotDerivedFrom()
/external/clang/lib/AST/
DRecordLayoutBuilder.cpp47 SmallVector<BaseSubobjectInfo*, 4> Bases; member
281 for (const BaseSubobjectInfo *Base : Info->Bases) { in CanPlaceBaseSubobjectAtOffset()
331 for (const BaseSubobjectInfo *Base : Info->Bases) { in UpdateEmptyBaseSubobjects()
638 BaseOffsetsMapTy Bases; member in __anon13b676a30111::ItaniumRecordLayoutBuilder
923 Info->Bases.push_back(ComputeBaseSubobjectInfo(BaseDecl, IsVirtual, Info)); in ComputeBaseSubobjectInfo()
1059 assert(!Bases.count(Base->Class) && "base offset already exists!"); in LayoutNonVirtualBase()
1060 Bases.insert(std::make_pair(Base->Class, Offset)); in LayoutNonVirtualBase()
1089 for (const BaseSubobjectInfo *Base : Info->Bases) { in AddPrimaryVirtualBaseOffsets()
1314 assert(Bases.count(BaseDecl) && "Did not find base offset!"); in Layout()
2283 BaseOffsetsMapTy Bases; member
[all …]
DCXXInheritance.cpp648 CXXIndirectPrimaryBaseSet& Bases) { in AddIndirectPrimaryBases() argument
652 Bases.insert(Layout.getPrimaryBase()); in AddIndirectPrimaryBases()
664 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in AddIndirectPrimaryBases()
670 CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const { in getIndirectPrimaryBases()
686 AddIndirectPrimaryBases(BaseDecl, Context, Bases); in getIndirectPrimaryBases()
DVTableBuilder.cpp1338 ItaniumVTableBuilder::PrimaryBasesSetVectorTy &Bases) { in OverridesIndirectMethodInBases() argument
1339 if (Bases.count(MD->getParent())) in OverridesIndirectMethodInBases()
1347 if (OverridesIndirectMethodInBases(OverriddenMD, Bases)) in OverridesIndirectMethodInBases()
1423 BasesSetVectorTy &Bases) { in FindNearestOverriddenMethod() argument
1428 llvm::make_range(Bases.rbegin(), Bases.rend())) { in FindNearestOverriddenMethod()
2651 BasesSetVectorTy Bases; in ComputeThisOffset() local
2659 Bases.insert(OverriddenMD->getParent()); in ComputeThisOffset()
2669 if (Bases.size() == 0) in ComputeThisOffset()
2674 [&Bases](const CXXBaseSpecifier *Specifier, CXXBasePath &) { in ComputeThisOffset()
2675 return Bases.count(Specifier->getType()->getAsCXXRecordDecl()); in ComputeThisOffset()
DDeclCXX.cpp74 Bases(), VBases(), in DefinitionData()
79 return Bases.get(Definition->getASTContext().getExternalSource()); in getBasesSlowCase()
138 CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases, in setBases() argument
142 if (!data().Bases.isOffset() && data().NumBases > 0) in setBases()
161 data().Bases = new(C) CXXBaseSpecifier [NumBases]; in setBases()
164 data().getBases()[i] = *Bases[i]; in setBases()
166 const CXXBaseSpecifier *Base = Bases[i]; in setBases()
/external/clang/include/clang/Serialization/
DASTWriter.h450 QueuedCXXBaseSpecifiers() : ID(), Bases(), BasesEnd() { } in QueuedCXXBaseSpecifiers()
453 CXXBaseSpecifier const *Bases, in QueuedCXXBaseSpecifiers()
455 : ID(ID), Bases(Bases), BasesEnd(BasesEnd) { } in QueuedCXXBaseSpecifiers()
458 CXXBaseSpecifier const * Bases; member
643 void AddCXXBaseSpecifiersRef(CXXBaseSpecifier const *Bases,
/external/clang/lib/CodeGen/
DCGExprConstant.cpp443 SmallVector<BaseInfo, 8> Bases; in Build() local
444 Bases.reserve(CD->getNumBases()); in Build()
451 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo)); in Build()
453 std::stable_sort(Bases.begin(), Bases.end()); in Build()
455 for (unsigned I = 0, N = Bases.size(); I != N; ++I) { in Build()
456 BaseInfo &Base = Bases[I]; in Build()
DCGCall.cpp631 SmallVector<const CXXBaseSpecifier *, 1> Bases; member
635 RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases, in RecordExpansion()
637 : TypeExpansion(TEK_Record), Bases(Bases), Fields(Fields) {} in RecordExpansion()
667 SmallVector<const CXXBaseSpecifier *, 1> Bases; in getTypeExpansion() local
697 Bases.push_back(&BS); in getTypeExpansion()
709 return llvm::make_unique<RecordExpansion>(std::move(Bases), in getTypeExpansion()
725 for (auto BS : RExp->Bases) in getExpansionSize()
746 for (auto BS : RExp->Bases) in getExpandedTypes()
789 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeFromArgs()
827 for (const CXXBaseSpecifier *BS : RExp->Bases) { in ExpandTypeToArgs()
DItaniumCXXABI.cpp3112 SeenBases &Bases) { in ComputeVMIClassTypeInfoFlags() argument
3121 if (!Bases.VirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
3126 if (Bases.NonVirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
3131 if (!Bases.NonVirtualBases.insert(BaseDecl).second) { in ComputeVMIClassTypeInfoFlags()
3136 if (Bases.VirtualBases.count(BaseDecl)) in ComputeVMIClassTypeInfoFlags()
3143 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
3150 SeenBases Bases; in ComputeVMIClassTypeInfoFlags() local
3154 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases); in ComputeVMIClassTypeInfoFlags()
/external/llvm/docs/
DHowToSetUpLLVMStyleRTTI.rst101 instances of exactly that class (only subclasses). See `Concrete Bases
236 Bases and Deeper Hierarchies`_ for more information about how to extend
243 Concrete Bases and Deeper Hierarchies
333 rewrite the example at the beginning of `Concrete Bases and Deeper
/external/clang/unittests/AST/
DASTTypeTraitsTest.cpp35 TEST(ASTNodeKind, Bases) { in TEST() argument
/external/clang/include/clang/AST/
DDeclCXX.h477 LazyCXXBaseSpecifiersPtr Bases; member
506 if (!Bases.isOffset()) in getBases()
507 return Bases.get(nullptr); in getBases()
704 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
1579 void getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const;
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp2369 SmallVector<Value *, 128> Bases; in insertParsePoints() local
2371 Bases.push_back(Pair.second); in insertParsePoints()
2373 insertUseHolderAfter(ToUpdate[i], Bases, Holders); in insertParsePoints()
2885 DenseSet<Value *> Bases; in recomputeLiveInValues() local
2887 Bases.insert(KVPair.second); in recomputeLiveInValues()
2894 assert(Bases.count(V) && "can't find base for unexpected live value"); in recomputeLiveInValues()
/external/icu/icu4c/source/data/brkitr/
Dline_normal_fi.txt199 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
200 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_normal.txt196 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
197 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline.txt193 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
194 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_fi.txt198 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
199 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_loose.txt202 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
203 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_normal_cj.txt203 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
204 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs
Dline_loose_fi.txt203 $CAN_CM = [^$SP $BK $CR $LF $NL $ZW $CM]; # Bases that can take CMs
204 $CANT_CM = [ $SP $BK $CR $LF $NL $ZW $CM]; # Bases that can't take CMs

12