HomeSort by relevance Sort by last modified time
    Searched refs:CXXRecordDecl (Results 1 - 25 of 199) sorted by null

1 2 3 4 5 6 7 8

  /external/clang/test/PCH/
cxx-chain-function-template.cpp 6 struct CXXRecordDecl { CXXRecordDecl(int); };
22 cast<CXXRecordDecl>(1.0f);
28 cast<CXXRecordDecl>(1.0f);
  /external/clang/lib/CodeGen/
CGVTables.h 26 class CXXRecordDecl;
39 typedef std::pair<const CXXRecordDecl *, BaseSubobject> BaseSubobjectPairTy;
65 const CXXRecordDecl *RD, const VTableComponent *Components,
81 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base);
85 uint64_t getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD,
90 uint64_t getAddressPoint(BaseSubobject Base, const CXXRecordDecl *RD);
95 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base,
102 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD);
107 const CXXRecordDecl *RD);
116 void GenerateClassData(const CXXRecordDecl *RD)
    [all...]
CGCXXABI.h 32 class CXXRecordDecl;
117 bool canCopyArgument(const CXXRecordDecl *RD) const;
120 virtual RecordArgABI getRecordArgABI(const CXXRecordDecl *RD) const = 0;
236 const CXXRecordDecl *ClassDecl,
237 const CXXRecordDecl *BaseClassDecl) = 0;
254 const CXXRecordDecl *RD);
260 const CXXRecordDecl *RD) {}
288 virtual const CXXRecordDecl *
343 const CXXRecordDecl *RD) = 0;
350 CodeGenFunction &CGF, const CXXRecordDecl *RD, BaseSubobject Base
    [all...]
  /external/clang/include/clang/AST/
BaseSubobject.h 23 class CXXRecordDecl;
30 const CXXRecordDecl *Base;
37 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset)
41 const CXXRecordDecl *getBase() const { return Base; }
58 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
64 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
69 typedef std::pair<const clang::CXXRecordDecl *, clang::CharUnits> PairTy;
VTTBuilder.h 29 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> BaseAndIsVirtual;
34 VTTVTable(const CXXRecordDecl *Base, CharUnits BaseOffset, bool BaseIsVirtual)
40 const CXXRecordDecl *getBase() const {
72 const CXXRecordDecl *MostDerivedClass;
87 typedef llvm::SmallPtrSet<const CXXRecordDecl *, 4> VisitedVirtualBasesSetTy;
103 const CXXRecordDecl *VTableClass);
116 const CXXRecordDecl *VTableClass,
126 void LayoutVirtualVTTs(const CXXRecordDecl *RD,
134 VTTBuilder(ASTContext &Ctx, const CXXRecordDecl *MostDerivedClass,
VTableBuilder.h 28 class CXXRecordDecl;
68 static VTableComponent MakeRTTI(const CXXRecordDecl *RD) {
124 const CXXRecordDecl *getRTTIDecl() const {
127 return reinterpret_cast<CXXRecordDecl *>(getPointer());
286 virtual void computeVTableRelatedInformation(const CXXRecordDecl *RD) = 0;
317 typedef llvm::DenseMap<const CXXRecordDecl *, const VTableLayout *>
321 typedef std::pair<const CXXRecordDecl *,
322 const CXXRecordDecl *> ClassPairTy;
332 void computeVTableRelatedInformation(const CXXRecordDecl *RD) override;
338 const VTableLayout &getVTableLayout(const CXXRecordDecl *RD)
    [all...]
CXXInheritance.h 33 class CXXRecordDecl;
50 const CXXRecordDecl *Class;
119 CXXRecordDecl *Origin;
161 friend class CXXRecordDecl;
166 const CXXRecordDecl *Record,
167 CXXRecordDecl::BaseMatchesCallback *BaseMatches,
221 CXXRecordDecl *getOrigin() const { return Origin; }
222 void setOrigin(CXXRecordDecl *Rec) { Origin = Rec; }
239 const CXXRecordDecl *InVirtualSubobject)
253 const CXXRecordDecl *InVirtualSubobject
    [all...]
DeclFriend.h 73 friend class CXXRecordDecl::friend_iterator;
74 friend class CXXRecordDecl;
173 class CXXRecordDecl::friend_iterator {
176 friend class CXXRecordDecl;
210 assert(N >= 0 && "cannot rewind a CXXRecordDecl::friend_iterator");
223 inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_begin() const {
227 inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_end() const {
231 inline CXXRecordDecl::friend_range CXXRecordDecl::friends() const
    [all...]
RecordLayout.h 25 class CXXRecordDecl;
56 typedef llvm::DenseMap<const CXXRecordDecl *, VBaseInfo>
117 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase;
120 const CXXRecordDecl *BaseSharingVBPtr;
123 typedef llvm::DenseMap<const CXXRecordDecl *, CharUnits> BaseOffsetsMapTy;
154 const CXXRecordDecl *PrimaryBase,
156 const CXXRecordDecl *BaseSharingVBPtr,
209 const CXXRecordDecl *getPrimaryBase() const {
224 CharUnits getBaseClassOffset(const CXXRecordDecl *Base) const {
232 CharUnits getVBaseClassOffset(const CXXRecordDecl *VBase) const
    [all...]
Mangle.h 149 virtual void mangleCXXVTable(const CXXRecordDecl *RD, raw_ostream &) = 0;
150 virtual void mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &) = 0;
151 virtual void mangleCXXCtorVTable(const CXXRecordDecl *RD, int64_t Offset,
152 const CXXRecordDecl *Type,
175 virtual void mangleCXXVFTable(const CXXRecordDecl *Derived,
176 ArrayRef<const CXXRecordDecl *> BasePath,
182 virtual void mangleCXXVBTable(const CXXRecordDecl *Derived,
183 ArrayRef<const CXXRecordDecl *> BasePath,
190 const CXXRecordDecl *Derived, uint32_t NVOffset, int32_t VBPtrOffset,
193 virtual void mangleCXXRTTIBaseClassArray(const CXXRecordDecl *Derived
    [all...]
ASTMutationListener.h 19 class CXXRecordDecl;
50 virtual void AddedCXXImplicitMember(const CXXRecordDecl *RD, const Decl *D) {}
  /external/chromium_org/tools/clang/plugins/
FindBadConstructsConsumer.h 40 clang::CXXRecordDecl* record);
49 clang::CXXRecordDecl* record);
59 clang::CXXRecordDecl* record,
68 const clang::CXXRecordDecl* record,
80 clang::CXXRecordDecl* record);
83 clang::CXXRecordDecl* record);
FindBadConstructsConsumer.cpp 45 if (const CXXRecordDecl* cxx_r = type->getPointeeCXXRecordDecl())
95 CXXRecordDecl* record) {
159 CXXRecordDecl* record) {
172 for (CXXRecordDecl::base_class_const_iterator it = record->bases_begin();
221 for (CXXRecordDecl::ctor_iterator it = record->ctor_begin();
344 CXXRecordDecl* record,
346 for (CXXRecordDecl::field_iterator it = record->field_begin();
349 CXXRecordDecl* record_type = it->getTypeSourceInfo()
360 for (CXXRecordDecl::method_iterator it = record->method_begin();
442 const CXXRecordDecl* record
    [all...]
  /external/clang/lib/AST/
CXXInheritance.cpp 76 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const {
82 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base,
87 Paths.setOrigin(const_cast<CXXRecordDecl*>(this));
89 const_cast<CXXRecordDecl*>(Base->getCanonicalDecl()),
93 bool CXXRecordDecl::isVirtuallyDerivedFrom(const CXXRecordDecl *Base) const {
103 Paths.setOrigin(const_cast<CXXRecordDecl*>(this));
111 static bool BaseIsNot(const CXXRecordDecl *Base, void *OpaqueTarget)
    [all...]
VTTBuilder.cpp 29 const CXXRecordDecl *MostDerivedClass,
40 const CXXRecordDecl *VTableClass) {
57 const CXXRecordDecl *RD = Base.getBase();
64 const CXXRecordDecl *BaseDecl =
65 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl());
80 const CXXRecordDecl *VTableClass,
82 const CXXRecordDecl *RD = Base.getBase();
90 const CXXRecordDecl *BaseDecl =
91 cast<CXXRecordDecl>(I.getType()->getAs<RecordType>()->getDecl());
151 void VTTBuilder::LayoutVirtualVTTs(const CXXRecordDecl *RD
    [all...]
CXXABI.h 40 virtual bool isNearlyEmpty(const CXXRecordDecl *RD) const = 0;
DeclFriend.cpp 36 isa<CXXRecordDecl>(D) ||
43 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
52 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
62 FriendDecl *CXXRecordDecl::getFirstFriend() const {
RecordLayoutBuilder.cpp 42 const CXXRecordDecl *Class;
65 const CXXRecordDecl *Class;
68 typedef llvm::TinyPtrVector<const CXXRecordDecl *> ClassVectorTy;
80 void AddSubobjectAtOffset(const CXXRecordDecl *RD, CharUnits Offset);
85 void UpdateEmptyFieldSubobjects(const CXXRecordDecl *RD,
86 const CXXRecordDecl *Class,
106 bool CanPlaceSubobjectAtOffset(const CXXRecordDecl *RD,
112 bool CanPlaceFieldSubobjectAtOffset(const CXXRecordDecl *RD,
113 const CXXRecordDecl *Class,
124 EmptySubobjectMap(const ASTContext &Context, const CXXRecordDecl *Class
    [all...]
MicrosoftCXXABI.cpp 58 bool isNearlyEmpty(const CXXRecordDecl *RD) const override {
81 static bool usesMultipleInheritanceModel(const CXXRecordDecl *RD) {
86 const CXXRecordDecl *Base =
95 MSInheritanceAttr::Spelling CXXRecordDecl::calculateInheritanceModel() const {
106 CXXRecordDecl::getMSInheritanceModel() const {
108 assert(IA && "Expected MSInheritanceAttr on the CXXRecordDecl!");
112 MSVtorDispAttr::Mode CXXRecordDecl::getMSVtorDispMode() const {
148 const CXXRecordDecl *RD = MPT->getMostRecentCXXRecordDecl();
DeclCXX.cpp 48 CXXRecordDecl::DefinitionData::DefinitionData(CXXRecordDecl *D)
78 CXXBaseSpecifier *CXXRecordDecl::DefinitionData::getBasesSlowCase() const {
82 CXXBaseSpecifier *CXXRecordDecl::DefinitionData::getVBasesSlowCase() const {
86 CXXRecordDecl::CXXRecordDecl(Kind K, TagKind TK, const ASTContext &C,
89 CXXRecordDecl *PrevDecl)
95 CXXRecordDecl *CXXRecordDecl::Create(const ASTContext &C, TagKind TK,
98 CXXRecordDecl* PrevDecl
    [all...]
  /external/clang/include/clang/Frontend/
LayoutOverrideSource.h 54 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets,
55 llvm::DenseMap<const CXXRecordDecl *,
  /external/chromium_org/tools/clang/blink_gc_plugin/
RecordInfo.h 5 // This file provides a wrapper for CXXRecordDecl that accumulates GC related
71 typedef std::map<clang::CXXRecordDecl*, BasePoint> Bases;
77 clang::CXXRecordDecl* record() const { return record_; }
104 RecordInfo(clang::CXXRecordDecl* record, RecordCache* cache);
114 clang::CXXRecordDecl* record_;
138 RecordInfo* Lookup(clang::CXXRecordDecl* record);
140 RecordInfo* Lookup(const clang::CXXRecordDecl* record) {
141 return Lookup(const_cast<clang::CXXRecordDecl*>(record));
145 return Lookup(clang::dyn_cast<clang::CXXRecordDecl>(decl));
169 typedef std::map<clang::CXXRecordDecl*, RecordInfo> Cache
    [all...]
  /external/clang/include/clang/CodeGen/
CodeGenABITypes.h 38 class CXXRecordDecl;
63 const CGFunctionInfo &arrangeCXXMethodType(const CXXRecordDecl *RD,
  /external/clang/lib/Sema/
SemaAccess.cpp 65 static CXXRecordDecl *FindDeclaringClass(NamedDecl *D) {
73 CXXRecordDecl *DeclaringClass = cast<CXXRecordDecl>(DC);
75 DeclaringClass = cast<CXXRecordDecl>(DeclaringClass->getDeclContext());
106 if (isa<CXXRecordDecl>(DC)) {
107 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC);
127 bool includesClass(const CXXRecordDecl *R) const {
139 typedef SmallVectorImpl<CXXRecordDecl*>::const_iterator record_iterator;
143 SmallVector<CXXRecordDecl*, 4> Records
    [all...]
  /external/clang/include/clang/Sema/
ExternalSemaSource.h 26 class CXXRecordDecl;
40 CXXRecordDecl *Record;
133 virtual void ReadDynamicClasses(SmallVectorImpl<CXXRecordDecl *> &Decls) {}

Completed in 556 milliseconds

1 2 3 4 5 6 7 8