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

/external/clang/test/CXX/special/class.ctor/
H A Dp5-0x.cpp152 #define ASSERT_NONTRIVIAL_IMPL(Class, Bases, Body) \
153 class Class Bases { Body }; \
155 #define ASSERT_NONTRIVIAL(Class, Bases, Body) \
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/
H A DStatepointLowering.cpp253 static void removeDuplicatesGCPtrs(SmallVectorImpl<const Value *> &Bases, argument
266 NewBases.push_back(Bases[i]);
272 assert(Bases.size() >= NewBases.size());
275 Bases = NewBases;
278 assert(Ptrs.size() == Bases.size());
391 /// Bases - base pointers incoming to this statepoint
395 /// other i.e Bases[i], Ptrs[i] are from the same gcrelocate call
397 SmallVectorImpl<const Value *> &Bases, SmallVectorImpl<const Value *> &Ptrs,
402 Bases.push_back(relocateOpers.getBasePtr());
410 removeDuplicatesGCPtrs(Bases, Ptr
396 getIncomingStatepointGCValues( SmallVectorImpl<const Value *> &Bases, SmallVectorImpl<const Value *> &Ptrs, SmallVectorImpl<const Value *> &Relocs, ImmutableStatepoint StatepointSite, SelectionDAGBuilder &Builder) argument
500 SmallVector<const Value *, 64> Bases, Ptrs, Relocations; local
[all...]
/external/llvm/tools/llvm-pdbdump/
H A DClassDefinitionDumper.cpp40 auto Bases = Class.findAllChildren<PDBSymbolTypeBaseClass>(); local
41 if (Bases->getChildCount() > 0) {
46 while (auto Base = Bases->getNext()) {
52 if (++BaseIndex < Bases->getChildCount()) {
/external/clang/lib/Sema/
H A DSemaCUDA.cpp310 llvm::SmallVector<const CXXBaseSpecifier *, 16> Bases; local
313 Bases.push_back(&B);
319 Bases.push_back(&VB);
323 for (const auto *B : Bases) {
H A DSemaExprMember.cpp34 const BaseSet &Bases) {
35 auto BaseIsNotInSet = [&Bases](const CXXRecordDecl *Base) {
36 return !Bases.count(Base->getCanonicalDecl());
33 isProvablyNotDerivedFrom(Sema &SemaRef, CXXRecordDecl *Record, const BaseSet &Bases) argument
H A DSemaDeclCXX.cpp1556 bool Sema::AttachBaseSpecifiers(CXXRecordDecl *Class, CXXBaseSpecifier **Bases, argument
1576 = Context.getCanonicalType(Bases[idx]->getType());
1584 Diag(Bases[idx]->getLocStart(),
1587 << Bases[idx]->getSourceRange();
1591 Context.Deallocate(Bases[idx]);
1596 KnownBase = Bases[idx];
1597 Bases[NumGoodBases++] = Bases[idx];
1622 Class->setBases(Bases, NumGoodBases);
1626 QualType BaseType = Bases[id
1657 ActOnBaseSpecifiers(Decl *ClassDecl, CXXBaseSpecifier **Bases, unsigned NumBases) argument
1663 AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl), Bases, NumBases); local
8469 llvm::SmallPtrSet<const CXXRecordDecl *, 4> Bases; local
[all...]
H A DSemaLookup.cpp2437 SmallVector<CXXRecordDecl *, 32> Bases;
2438 Bases.push_back(Class);
2439 while (!Bases.empty()) {
2441 Class = Bases.pop_back_val();
2462 Bases.push_back(BaseDecl);
/external/clang/include/clang/Serialization/
H A DASTWriter.h450 QueuedCXXBaseSpecifiers() : ID(), Bases(), BasesEnd() { }
453 CXXBaseSpecifier const *Bases,
455 : ID(ID), Bases(Bases), BasesEnd(BasesEnd) { }
458 CXXBaseSpecifier const * Bases; member in struct:clang::ASTWriter::QueuedCXXBaseSpecifiers
643 void AddCXXBaseSpecifiersRef(CXXBaseSpecifier const *Bases,
452 QueuedCXXBaseSpecifiers(serialization::CXXBaseSpecifiersID ID, CXXBaseSpecifier const *Bases, CXXBaseSpecifier const *BasesEnd) argument
/external/clang/lib/AST/
H A DRecordLayoutBuilder.cpp46 /// Bases - Information about the base subobjects.
47 SmallVector<BaseSubobjectInfo*, 4> Bases; member in struct:__anon1186::BaseSubobjectInfo
281 for (const BaseSubobjectInfo *Base : Info->Bases) {
331 for (const BaseSubobjectInfo *Base : Info->Bases) {
637 /// Bases - base classes and their offsets in the record.
638 BaseOffsetsMapTy Bases; member in class:__anon1186::ItaniumRecordLayoutBuilder
923 Info->Bases.push_back(ComputeBaseSubobjectInfo(BaseDecl, IsVirtual, Info));
1059 assert(!Bases.count(Base->Class) && "base offset already exists!");
1060 Bases.insert(std::make_pair(Base->Class, Offset));
1089 for (const BaseSubobjectInfo *Base : Info->Bases) {
2283 BaseOffsetsMapTy Bases; member in struct:__anon1187::MicrosoftRecordLayoutBuilder
3151 SmallVector<const CXXRecordDecl *, 4> Bases; local
[all...]
H A DCXXInheritance.cpp648 CXXIndirectPrimaryBaseSet& Bases) {
652 Bases.insert(Layout.getPrimaryBase());
664 AddIndirectPrimaryBases(BaseDecl, Context, Bases);
670 CXXRecordDecl::getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const {
686 AddIndirectPrimaryBases(BaseDecl, Context, Bases);
H A DDeclCXX.cpp74 Bases(), VBases(),
79 return Bases.get(Definition->getASTContext().getExternalSource());
138 CXXRecordDecl::setBases(CXXBaseSpecifier const * const *Bases, argument
142 if (!data().Bases.isOffset() && data().NumBases > 0)
161 data().Bases = new(C) CXXBaseSpecifier [NumBases];
164 data().getBases()[i] = *Bases[i];
166 const CXXBaseSpecifier *Base = Bases[i];
H A DVTableBuilder.cpp1338 ItaniumVTableBuilder::PrimaryBasesSetVectorTy &Bases) {
1339 if (Bases.count(MD->getParent()))
1347 if (OverridesIndirectMethodInBases(OverriddenMD, Bases))
1420 /// The Bases are expected to be sorted in a base-to-derived order.
1423 BasesSetVectorTy &Bases) {
1428 llvm::make_range(Bases.rbegin(), Bases.rend())) {
2651 BasesSetVectorTy Bases; local
2659 Bases.insert(OverriddenMD->getParent());
2669 if (Bases
1336 OverridesIndirectMethodInBases( const CXXMethodDecl *MD, ItaniumVTableBuilder::PrimaryBasesSetVectorTy &Bases) argument
1422 FindNearestOverriddenMethod(const CXXMethodDecl *MD, BasesSetVectorTy &Bases) argument
[all...]
H A DASTImporter.cpp2053 SmallVector<CXXBaseSpecifier *, 4> Bases; local
2066 Bases.push_back(
2075 if (!Bases.empty())
2076 ToCXX->setBases(Bases.data(), Bases.size());
/external/clang/unittests/AST/
H A DASTTypeTraitsTest.cpp35 TEST(ASTNodeKind, Bases) {
/external/clang/lib/CodeGen/
H A DCGExprConstant.cpp443 SmallVector<BaseInfo, 8> Bases; local
444 Bases.reserve(CD->getNumBases());
451 Bases.push_back(BaseInfo(BD, BaseOffset, BaseNo));
453 std::stable_sort(Bases.begin(), Bases.end());
455 for (unsigned I = 0, N = Bases.size(); I != N; ++I) {
456 BaseInfo &Base = Bases[I];
H A DCGCall.cpp631 SmallVector<const CXXBaseSpecifier *, 1> Bases; member in struct:__anon1265::RecordExpansion
635 RecordExpansion(SmallVector<const CXXBaseSpecifier *, 1> &&Bases, argument
637 : TypeExpansion(TEK_Record), Bases(Bases), Fields(Fields) {}
667 SmallVector<const CXXBaseSpecifier *, 1> Bases; local
697 Bases.push_back(&BS);
709 return llvm::make_unique<RecordExpansion>(std::move(Bases),
725 for (auto BS : RExp->Bases)
746 for (auto BS : RExp->Bases)
789 for (const CXXBaseSpecifier *BS : RExp->Bases) {
[all...]
H A DItaniumCXXABI.cpp3112 SeenBases &Bases) {
3121 if (!Bases.VirtualBases.insert(BaseDecl).second) {
3126 if (Bases.NonVirtualBases.count(BaseDecl))
3131 if (!Bases.NonVirtualBases.insert(BaseDecl).second) {
3136 if (Bases.VirtualBases.count(BaseDecl))
3143 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases);
3150 SeenBases Bases; local
3154 Flags |= ComputeVMIClassTypeInfoFlags(&I, Bases);
3111 ComputeVMIClassTypeInfoFlags(const CXXBaseSpecifier *Base, SeenBases &Bases) argument
H A DMicrosoftCXXABI.cpp3490 auto *Bases = getBaseClassArray(Classes); local
3498 Bases->getValueType(), Bases,
/external/clang/include/clang/AST/
H A DDeclCXX.h468 /// \brief The number of base class specifiers in Bases.
477 LazyCXXBaseSpecifiersPtr Bases; member in struct:clang::CXXRecordDecl::DefinitionData
506 if (!Bases.isOffset())
507 return Bases.get(nullptr);
704 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
1579 void getIndirectPrimaryBases(CXXIndirectPrimaryBaseSet& Bases) const;
/external/llvm/lib/Transforms/Scalar/
H A DRewriteStatepointsForGC.cpp2369 SmallVector<Value *, 128> Bases; local
2371 Bases.push_back(Pair.second);
2373 insertUseHolderAfter(ToUpdate[i], Bases, Holders);
2885 DenseSet<Value *> Bases; local
2887 Bases.insert(KVPair.second);
2894 assert(Bases.count(V) && "can't find base for unexpected live value");
/external/clang/utils/TableGen/
H A DClangAttrEmitter.cpp1075 ArrayRef<Record*> Bases = Search->getSuperClasses(); local
1076 for (const auto *Base : llvm::make_range(Bases.rbegin(), Bases.rend())) {
/external/clang/lib/Serialization/
H A DASTWriter.cpp4822 void ASTWriter::AddCXXBaseSpecifiersRef(CXXBaseSpecifier const *Bases,
4825 assert(Bases != BasesEnd && "Empty base-specifier sets are not recorded");
4828 Bases, BasesEnd));
5395 const CXXBaseSpecifier *B = CXXBaseSpecifiersToWrite[I].Bases,
H A DASTReader.cpp6328 CXXBaseSpecifier *Bases = new (Mem) CXXBaseSpecifier [NumBases];
6330 Bases[I] = ReadCXXBaseSpecifier(*Loc.F, Record, Idx);
6331 return Bases;
H A DASTReaderDecl.cpp1437 Data.Bases = Reader.readCXXBaseSpecifiers(F, Record, Idx);
/external/clang/include/clang/Sema/
H A DSema.h5370 bool AttachBaseSpecifiers(CXXRecordDecl *Class, CXXBaseSpecifier **Bases,
5372 void ActOnBaseSpecifiers(Decl *ClassDecl, CXXBaseSpecifier **Bases,

Completed in 424 milliseconds