HomeSort by: relevance | last modified time | path
    Searched refs:CXXRecordDecl (Results 1 - 25 of 223) sorted by relevancy

1 2 3 4 5 6 7 8 9

  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
PtrTypesSemantics.h 17 class CXXRecordDecl;
29 /// \returns CXXRecordDecl of the base if the type is ref-countable, nullptr if
31 llvm::Optional<const clang::CXXRecordDecl *>
36 llvm::Optional<bool> isRefCountable(const clang::CXXRecordDecl *Class);
39 bool isRefCounted(const clang::CXXRecordDecl *Class);
43 llvm::Optional<bool> isUncounted(const clang::CXXRecordDecl *Class);
RefCntblBaseVirtualDtorChecker.cpp 51 bool VisitCXXRecordDecl(const CXXRecordDecl *RD) {
61 void visitCXXRecordDecl(const CXXRecordDecl *RD) const {
69 const CXXRecordDecl *ProblematicBaseClass = nullptr;
79 llvm::Optional<const CXXRecordDecl *> RefCntblBaseRD =
100 bool shouldSkipDecl(const CXXRecordDecl *RD) const {
128 void reportBug(const CXXRecordDecl *DerivedClass,
130 const CXXRecordDecl *ProblematicBaseClass) const {
PtrTypesSemantics.cpp 22 bool hasPublicRefAndDeref(const CXXRecordDecl *R) {
48 llvm::Optional<const clang::CXXRecordDecl *>
56 const CXXRecordDecl *R = T->getAsCXXRecordDecl();
65 llvm::Optional<bool> isRefCountable(const CXXRecordDecl *R) {
76 Paths.setOrigin(const_cast<CXXRecordDecl *>(R));
81 Optional<const clang::CXXRecordDecl *> IsRefCountable =
115 llvm::Optional<bool> isUncounted(const CXXRecordDecl *Class) {
142 const CXXRecordDecl *calleeMethodsClass = M->getParent();
168 bool isRefCounted(const CXXRecordDecl *R) {
ASTUtils.h 20 class CXXRecordDecl;
  /src/external/apache2/llvm/dist/clang/include/clang/AST/
BaseSubobject.h 25 class CXXRecordDecl;
32 const CXXRecordDecl *Base;
39 BaseSubobject(const CXXRecordDecl *Base, CharUnits BaseOffset)
43 const CXXRecordDecl *getBase() const { return Base; }
60 DenseMapInfo<const clang::CXXRecordDecl *>::getEmptyKey(),
66 DenseMapInfo<const clang::CXXRecordDecl *>::getTombstoneKey(),
71 using PairTy = std::pair<const clang::CXXRecordDecl *, clang::CharUnits>;
VTTBuilder.h 30 class CXXRecordDecl;
33 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> BaseAndIsVirtual;
38 VTTVTable(const CXXRecordDecl *Base, CharUnits BaseOffset, bool BaseIsVirtual)
44 const CXXRecordDecl *getBase() const {
75 const CXXRecordDecl *MostDerivedClass;
90 using VisitedVirtualBasesSetTy = llvm::SmallPtrSet<const CXXRecordDecl *, 4>;
106 const CXXRecordDecl *VTableClass);
119 const CXXRecordDecl *VTableClass,
129 void LayoutVirtualVTTs(const CXXRecordDecl *RD,
137 VTTBuilder(ASTContext &Ctx, const CXXRecordDecl *MostDerivedClass
    [all...]
VTableBuilder.h 27 class CXXRecordDecl;
67 static VTableComponent MakeRTTI(const CXXRecordDecl *RD) {
119 const CXXRecordDecl *getRTTIDecl() const {
121 return reinterpret_cast<CXXRecordDecl *>(getPointer());
337 virtual void computeVTableRelatedInformation(const CXXRecordDecl *RD) = 0;
371 typedef llvm::DenseMap<const CXXRecordDecl *,
376 typedef std::pair<const CXXRecordDecl *,
377 const CXXRecordDecl *> ClassPairTy;
387 void computeVTableRelatedInformation(const CXXRecordDecl *RD) override;
403 const VTableLayout &getVTableLayout(const CXXRecordDecl *RD)
    [all...]
CXXInheritance.h 51 const CXXRecordDecl *Class;
118 friend class CXXRecordDecl;
121 const CXXRecordDecl *Origin = nullptr;
142 llvm::SmallPtrSet<const CXXRecordDecl *, 4> VisitedDependentRecords;
166 bool lookupInBases(ASTContext &Context, const CXXRecordDecl *Record,
167 CXXRecordDecl::BaseMatchesCallback BaseMatches,
217 const CXXRecordDecl *getOrigin() const { return Origin; }
218 void setOrigin(const CXXRecordDecl *Rec) { Origin = Rec; }
241 const CXXRecordDecl *InVirtualSubobject = nullptr;
246 const CXXRecordDecl *InVirtualSubobject
    [all...]
RecordLayout.h 29 class CXXRecordDecl;
59 using VBaseOffsetsMapTy = llvm::DenseMap<const CXXRecordDecl *, VBaseInfo>;
132 llvm::PointerIntPair<const CXXRecordDecl *, 1, bool> PrimaryBase;
135 const CXXRecordDecl *BaseSharingVBPtr;
138 using BaseOffsetsMapTy = llvm::DenseMap<const CXXRecordDecl *, CharUnits>;
167 const CXXRecordDecl *PrimaryBase, bool IsPrimaryBaseVirtual,
168 const CXXRecordDecl *BaseSharingVBPtr,
234 const CXXRecordDecl *getPrimaryBase() const {
249 CharUnits getBaseClassOffset(const CXXRecordDecl *Base) const {
259 CharUnits getVBaseClassOffset(const CXXRecordDecl *VBase) const
    [all...]
Mangle.h 101 virtual std::string getLambdaString(const CXXRecordDecl *Lambda) = 0;
179 virtual void mangleCXXVTable(const CXXRecordDecl *RD, raw_ostream &) = 0;
180 virtual void mangleCXXVTT(const CXXRecordDecl *RD, raw_ostream &) = 0;
181 virtual void mangleCXXCtorVTable(const CXXRecordDecl *RD, int64_t Offset,
182 const CXXRecordDecl *Type,
194 virtual void mangleLambdaSig(const CXXRecordDecl *Lambda, raw_ostream &) = 0;
214 virtual void mangleCXXVFTable(const CXXRecordDecl *Derived,
215 ArrayRef<const CXXRecordDecl *> BasePath,
221 virtual void mangleCXXVBTable(const CXXRecordDecl *Derived,
222 ArrayRef<const CXXRecordDecl *> BasePath
    [all...]
ASTConsumer.h 19 class CXXRecordDecl;
111 /// CXXRecordDecl.
112 virtual void AssignInheritanceModel(CXXRecordDecl *RD) {}
123 virtual void HandleVTable(CXXRecordDecl *RD) {}
ASTLambda.h 28 const CXXRecordDecl *LambdaClass = MD->getParent();
40 const CXXRecordDecl *LambdaClass = MD->getParent();
71 const CXXRecordDecl *LambdaClass = MD->getParent();
DeclFriend.h 62 friend class CXXRecordDecl;
63 friend class CXXRecordDecl::friend_iterator;
187 class CXXRecordDecl::friend_iterator {
188 friend class CXXRecordDecl;
226 assert(N >= 0 && "cannot rewind a CXXRecordDecl::friend_iterator");
239 inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_begin() const {
243 inline CXXRecordDecl::friend_iterator CXXRecordDecl::friend_end() const {
247 inline CXXRecordDecl::friend_range CXXRecordDecl::friends() const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/AST/
CXXInheritance.cpp 68 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base) const {
74 bool CXXRecordDecl::isDerivedFrom(const CXXRecordDecl *Base,
79 Paths.setOrigin(const_cast<CXXRecordDecl*>(this));
81 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl();
89 bool CXXRecordDecl::isVirtuallyDerivedFrom(const CXXRecordDecl *Base) const {
99 Paths.setOrigin(const_cast<CXXRecordDecl*>(this));
101 const CXXRecordDecl *BaseDecl = Base->getCanonicalDecl()
    [all...]
DeclFriend.cpp 43 isa<CXXRecordDecl>(D) ||
50 (cast<CXXRecordDecl>(DC)->getTemplateSpecializationKind()));
61 cast<CXXRecordDecl>(DC)->pushFriendDecl(FD);
72 FriendDecl *CXXRecordDecl::getFirstFriend() const {
VTTBuilder.cpp 32 const CXXRecordDecl *MostDerivedClass,
43 const CXXRecordDecl *VTableClass) {
60 const CXXRecordDecl *RD = Base.getBase();
68 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
83 const CXXRecordDecl *VTableClass,
85 const CXXRecordDecl *RD = Base.getBase();
94 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
154 void VTTBuilder::LayoutVirtualVTTs(const CXXRecordDecl *RD,
158 cast<CXXRecordDecl>(I.getType()->castAs<RecordType>()->getDecl());
180 const CXXRecordDecl *RD = Base.getBase()
    [all...]
CXXABI.h 50 virtual bool isNearlyEmpty(const CXXRecordDecl *RD) const = 0;
57 virtual void addCopyConstructorForExceptionObject(CXXRecordDecl *,
62 getCopyConstructorForExceptionObject(CXXRecordDecl *) = 0;
MicrosoftCXXABI.cpp 83 llvm::SmallDenseMap<CXXRecordDecl *, CXXConstructorDecl *> RecordToCopyCtor;
115 bool isNearlyEmpty(const CXXRecordDecl *RD) const override {
120 getCopyConstructorForExceptionObject(CXXRecordDecl *RD) override {
125 addCopyConstructorForExceptionObject(CXXRecordDecl *RD,
174 static bool usesMultipleInheritanceModel(const CXXRecordDecl *RD) {
179 const CXXRecordDecl *Base =
188 MSInheritanceModel CXXRecordDecl::calculateInheritanceModel() const {
198 MSInheritanceModel CXXRecordDecl::getMSInheritanceModel() const {
200 assert(IA && "Expected MSInheritanceAttr on the CXXRecordDecl!");
204 bool CXXRecordDecl::nullFieldOffsetIsZero() const
    [all...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGVTables.h 25 class CXXRecordDecl;
40 typedef std::pair<const CXXRecordDecl *, BaseSubobject> BaseSubobjectPairTy;
111 uint64_t getSubVTTIndex(const CXXRecordDecl *RD, BaseSubobject Base);
115 uint64_t getSecondaryVirtualPointerIndex(const CXXRecordDecl *RD,
121 GenerateConstructionVTable(const CXXRecordDecl *RD, const BaseSubobject &Base,
128 llvm::GlobalVariable *GetAddrOfVTT(const CXXRecordDecl *RD);
133 const CXXRecordDecl *RD);
142 void GenerateClassData(const CXXRecordDecl *RD);
144 bool isVTableExternal(const CXXRecordDecl *RD);
CGRecordLayout.h 146 llvm::DenseMap<const CXXRecordDecl *, unsigned> NonVirtualBases;
149 llvm::DenseMap<const CXXRecordDecl *, unsigned> CompleteObjectVirtualBases;
203 unsigned getNonVirtualBaseLLVMFieldNo(const CXXRecordDecl *RD) const {
210 unsigned getVirtualBaseIndex(const CXXRecordDecl *base) const {
  /src/external/apache2/llvm/dist/clang/include/clang/Frontend/
LayoutOverrideSource.h 53 llvm::DenseMap<const CXXRecordDecl *, CharUnits> &BaseOffsets,
54 llvm::DenseMap<const CXXRecordDecl *,
  /src/external/apache2/llvm/dist/clang/lib/Sema/
SemaAccess.cpp 65 static CXXRecordDecl *FindDeclaringClass(NamedDecl *D) {
73 CXXRecordDecl *DeclaringClass = cast<CXXRecordDecl>(DC);
75 DeclaringClass = cast<CXXRecordDecl>(DeclaringClass->getDeclContext());
120 if (isa<CXXRecordDecl>(DC)) {
121 CXXRecordDecl *Record = cast<CXXRecordDecl>(DC);
141 bool includesClass(const CXXRecordDecl *R) const {
152 typedef SmallVectorImpl<CXXRecordDecl*>::const_iterator record_iterator;
156 SmallVector<CXXRecordDecl*, 4> Records
    [all...]
CoroutineStmtBuilder.h 32 CXXRecordDecl *PromiseRecordDecl = nullptr;
  /src/external/apache2/llvm/dist/clang/include/clang/Sema/
DelayedDiagnostic.h 61 MemberNonce _, CXXRecordDecl *NamingClass,
68 BaseNonce _, CXXRecordDecl *BaseClass,
69 CXXRecordDecl *DerivedClass, AccessSpecifier Access)
81 CXXRecordDecl *getNamingClass() const { return NamingClass; }
84 CXXRecordDecl *getBaseClass() const {
85 assert(!IsMember); return cast<CXXRecordDecl>(Target);
87 CXXRecordDecl *getDerivedClass() const { return NamingClass; }
117 CXXRecordDecl *NamingClass;
  /src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
LLVMConventionsChecker.cpp 197 static bool IsPartOfAST(const CXXRecordDecl *R) {
204 CXXRecordDecl *baseD = cast<CXXRecordDecl>(baseT->getDecl());
216 const CXXRecordDecl *Root;
221 ASTFieldVisitor(const CXXRecordDecl *root, BugReporter &br,
230 static void CheckASTMemory(const CXXRecordDecl *R, BugReporter &BR,
297 check::ASTDecl<CXXRecordDecl>,
300 void checkASTDecl(const CXXRecordDecl *R, AnalysisManager& mgr,

Completed in 28 milliseconds

1 2 3 4 5 6 7 8 9