Home
last modified time | relevance | path

Searched refs:NumBases (Results 1 – 11 of 11) sorted by relevance

/openbsd/gnu/llvm/clang/lib/AST/
H A DODRDiagsEmitter.cpp723 NumBases, in diagnoseMismatch() enumerator
743 unsigned NumBases = DD->NumBases; in diagnoseMismatch() local
744 if (NumBases == 0) in diagnoseMismatch()
748 bases[NumBases - 1].getEndLoc()); in diagnoseMismatch()
751 unsigned FirstNumBases = FirstDD->NumBases; in diagnoseMismatch()
753 unsigned SecondNumBases = SecondDD->NumBases; in diagnoseMismatch()
757 NumBases) in diagnoseMismatch()
760 NumBases) in diagnoseMismatch()
H A DAPValue.cpp299 APValue::StructData::StructData(unsigned NumBases, unsigned NumFields) : in StructData() argument
300 Elts(new APValue[NumBases+NumFields]), in StructData()
301 NumBases(NumBases), NumFields(NumFields) {} in StructData()
H A DDeclCXX.cpp195 unsigned NumBases) { in setBases() argument
198 if (!data().Bases.isOffset() && data().NumBases > 0) in setBases()
201 if (NumBases) { in setBases()
219 data().Bases = new(C) CXXBaseSpecifier [NumBases]; in setBases()
220 data().NumBases = NumBases; in setBases()
221 for (unsigned i = 0; i < NumBases; ++i) { in setBases()
472 if (data().IsStandardLayout && NumBases > 1 && hasRepeatedBaseClass(this)) in setBases()
H A DExprConstant.cpp7133 unsigned NumBases = 0; in visit() local
7135 NumBases = CXXRD->getNumBases(); in visit()
7137 APValue ResultVal(APValue::UninitStruct(), NumBases, in visit()
/openbsd/gnu/llvm/clang/include/clang/AST/
H A DAPValue.h283 unsigned NumBases;
285 StructData(unsigned NumBases, unsigned NumFields);
532 return ((const StructData *)(const char *)&Data)->NumBases;
H A DDeclCXX.h308 unsigned NumBases = 0; member
360 return llvm::ArrayRef(getBases(), NumBases); in bases()
593 void setBases(CXXBaseSpecifier const * const *Bases, unsigned NumBases);
596 unsigned getNumBases() const { return data().NumBases; } in getNumBases()
611 base_class_iterator bases_end() { return bases_begin() + data().NumBases; } in bases_end()
613 return bases_begin() + data().NumBases; in bases_end()
/openbsd/gnu/llvm/clang/lib/CodeGen/
H A DMicrosoftCXXABI.cpp3625 return Child + 1 + Child->NumBases; in getNextChild()
3629 uint32_t Flags, NumBases, OffsetInVBase; member
3654 NumBases = 0; in initialize()
3657 NumBases += Child->initialize(this, &Base) + 1; in initialize()
3660 return NumBases; in initialize()
3868 llvm::ConstantInt::get(CGM.IntTy, Class.NumBases), in getBaseClassDescriptor()
/openbsd/gnu/llvm/clang/lib/Serialization/
H A DASTReaderDecl.cpp1911 Data.NumBases = Record.readInt(); in ReadCXXDefinitionData()
1912 if (Data.NumBases) in ReadCXXDefinitionData()
2011 if (DD.NumBases != MergeDD.NumBases || DD.NumVBases != MergeDD.NumVBases) in MergeDefinitionData()
H A DASTReader.cpp7404 unsigned NumBases = Record.readInt(); in GetExternalCXXBaseSpecifiers() local
7405 void *Mem = Context.Allocate(sizeof(CXXBaseSpecifier) * NumBases); in GetExternalCXXBaseSpecifiers()
7406 CXXBaseSpecifier *Bases = new (Mem) CXXBaseSpecifier [NumBases]; in GetExternalCXXBaseSpecifiers()
7407 for (unsigned I = 0; I != NumBases; ++I) in GetExternalCXXBaseSpecifiers()
H A DASTWriter.cpp5920 Record->push_back(Data.NumBases); in AddCXXDefinitionData()
5921 if (Data.NumBases > 0) in AddCXXDefinitionData()
/openbsd/gnu/llvm/clang/lib/Sema/
H A DSemaInit.cpp2637 unsigned NumBases = 0; in CheckDesignatedInitializer() local
2639 NumBases = CXXRD->getNumBases(); in CheckDesignatedInitializer()
2641 unsigned FieldIndex = NumBases; in CheckDesignatedInitializer()
2729 unsigned OldIndex = NumBases + PrevField->getFieldIndex(); in CheckDesignatedInitializer()