| /src/external/apache2/llvm/dist/clang/lib/CodeGen/ |
| CGClass.cpp | 196 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, 202 computeNonVirtualBaseClassOffset(ClassDecl, PathBegin, PathEnd); 558 const CXXRecordDecl *ClassDecl, 575 CGF.InitializeVTablePointers(ClassDecl); 580 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, 589 CGF.getOverlapForBaseInit(ClassDecl, BaseClassDecl, isBaseVirtual)); 631 const CXXRecordDecl *ClassDecl, 645 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); 780 const CXXRecordDecl *ClassDecl = 783 if (!ClassDecl->mayInsertExtraPadding()) return [all...] |
| CGObjCGNU.cpp | 605 void GenerateClass(const ObjCImplementationDecl *ClassDecl) override; 1706 ObjCInterfaceDecl *classDecl = 1708 std::string className = classDecl->getNameAsString(); 1760 metaclassFields.add(GeneratePropertyList(OID, classDecl, /*isClassProperty*/true)); 1813 if (classDecl->all_declared_ivar_begin() == nullptr) 1817 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; 1836 for (const ObjCIvarDecl *IVD = classDecl->all_declared_ivar_begin(); IVD; 1851 std::string OffsetName = GetIVarOffsetVariableName(classDecl, IVD); 1862 classDecl->getVisibility() == HiddenVisibility) ? 1922 auto RuntimeProtocols = GetRuntimeProtocolList(classDecl->protocol_begin() [all...] |
| ItaniumCXXABI.cpp | 201 const CXXRecordDecl *ClassDecl, 1250 auto *ClassDecl = 1253 CGF.GetVTablePtr(Ptr, CGF.IntPtrTy->getPointerTo(), ClassDecl); 1453 auto *ClassDecl = 1456 CGF.GetVTablePtr(ThisPtr, StdTypeInfoPtrTy->getPointerTo(), ClassDecl); 1528 auto *ClassDecl = 1534 CGF.GetVTablePtr(ThisAddr, CGM.Int32Ty->getPointerTo(), ClassDecl); 1547 CGF.GetVTablePtr(ThisAddr, PtrDiffLTy->getPointerTo(), ClassDecl); 1572 const CXXRecordDecl *ClassDecl, 1574 llvm::Value *VTablePtr = CGF.GetVTablePtr(This, CGM.Int8PtrTy, ClassDecl); [all...] |
| CGCXXABI.h | 279 const CXXRecordDecl *ClassDecl,
|
| CGVTables.cpp | 91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl(); 92 auto ClassAlign = CGF.CGM.getClassPointerAlignment(ClassDecl);
|
| CodeGenModule.h | 935 GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl,
|
| MicrosoftCXXABI.cpp | 167 const CXXRecordDecl *ClassDecl, 1049 CodeGenFunction &CGF, Address This, const CXXRecordDecl *ClassDecl, 1053 Context.getASTRecordLayout(ClassDecl).getVBPtrOffset().getQuantity(); 1058 CGM.getMicrosoftVTableContext().getVBTableIndex(ClassDecl, BaseClassDecl);
|
| CGObjC.cpp | 80 const ObjCInterfaceDecl *ClassDecl = BoxingMethod->getClassInterface(); 81 llvm::Value *Receiver = Runtime.GetClass(*this, ClassDecl); 115 Args, ClassDecl, BoxingMethod);
|
| CGExpr.cpp | 342 auto *ClassDecl = cast<CXXRecordDecl>(RT->getDecl()); 343 if (!ClassDecl->hasTrivialDestructor()) 344 ReferenceTemporaryDtor = ClassDecl->getDestructor();
|
| /src/external/apache2/llvm/dist/clang/lib/Sema/ |
| SemaDeclCXX.cpp | 2617 Sema::ActOnBaseSpecifier(Decl *classdecl, SourceRange SpecifierRange, 2622 if (!classdecl) 2625 AdjustDeclIfTemplate(classdecl); 2626 CXXRecordDecl *Class = dyn_cast<CXXRecordDecl>(classdecl); 2795 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, 2797 if (!ClassDecl || Bases.empty()) 2800 AdjustDeclIfTemplate(ClassDecl); 2801 AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl), Bases); 4040 CXXRecordDecl *ClassDecl, 4046 for (const auto &Base : ClassDecl->bases()) [all...] |
| SemaCUDA.cpp | 319 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, 346 for (const auto &B : ClassDecl->bases()) { 352 if (!ClassDecl->isAbstract()) { 353 for (const auto &VB : ClassDecl->vbases()) { 385 Diag(ClassDecl->getLocation(), 396 for (const auto *F : ClassDecl->fields()) { 429 Diag(ClassDecl->getLocation(), 519 const CXXRecordDecl *ClassDecl = DD->getParent(); 522 if (ClassDecl->isDynamicClass()) 532 if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) [all...] |
| SemaDeclObjC.cpp | 3973 Decl *ClassDecl = OCD; 3976 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl) 3977 || isa<ObjCProtocolDecl>(ClassDecl); 3978 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); 4053 if (isa<ObjCInterfaceDecl>(ClassDecl)) { 4055 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { 4067 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { 4076 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { 4165 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) { [all...] |
| SemaObjCProperty.cpp | 193 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); 195 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { 210 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, 221 (isa<ObjCInterfaceDecl>(ClassDecl) || 222 isa<ObjCProtocolDecl>(ClassDecl))); 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { 254 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { 262 ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl); 839 ObjCInterfaceDecl *ClassDecl, 845 for (const auto *PI : ClassDecl->all_referenced_protocols()) [all...] |
| SemaExprObjC.cpp | 2174 if (auto classDecl = CurMethod->getClassInterface()) { 2175 SuperType = QualType(classDecl->getSuperClassType(), 0); 2994 if (ObjCInterfaceDecl *ClassDecl = CurMeth->getClassInterface()) { 2999 Method = ClassDecl->lookupClassMethod(Sel); 3002 Method = ClassDecl->lookupPrivateClassMethod(Sel); 3041 ObjCInterfaceDecl *ClassDecl = nullptr; 3057 ClassDecl = OCIType->getInterfaceDecl(); 3077 Method = ClassDecl->lookupInstanceMethod(Sel); 3086 Method = ClassDecl->lookupPrivateMethod(Sel);
|
| SemaPseudoObject.cpp | 238 if (const CXXRecordDecl *ClassDecl = ty->getAsCXXRecordDecl()) 239 return ClassDecl->isTriviallyCopyable();
|
| SemaCodeComplete.cpp | 6283 CXXRecordDecl *ClassDecl = Constructor->getParent(); 6352 for (const auto &Base : ClassDecl->bases()) { 6367 for (const auto &Base : ClassDecl->vbases()) { 6382 for (auto *Field : ClassDecl->fields()) { 7665 if (ObjCInterfaceDecl *ClassDecl = CurMethod->getClassInterface()) 7666 AddObjCMethods(ClassDecl, false, MK_Any, SelIdents, CurContext,
|
| /src/external/apache2/llvm/dist/clang/lib/AST/ |
| DeclObjC.cpp | 249 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { 250 for (const auto *Ext : ClassDecl->visible_extensions()) { 631 ObjCInterfaceDecl* ClassDecl = this; 632 while (ClassDecl != nullptr) { 633 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { 634 clsDeclared = ClassDecl; 638 for (const auto *Ext : ClassDecl->visible_extensions()) { 640 clsDeclared = ClassDecl; 645 ClassDecl = ClassDecl->getSuperClass() [all...] |
| Type.cpp | 94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); 95 return ClassDecl && ClassDecl->mayBeDynamicClass(); 99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); 100 return !ClassDecl || ClassDecl->mayBeNonDynamicClass(); 1604 ObjCInterfaceDecl *classDecl = getInterface(); 1605 if (!classDecl) { 1611 const ObjCObjectType *superClassObjTy = classDecl->getSuperClassType(); 1641 ObjCTypeParamList *typeParams = classDecl->getTypeParamList() [all...] |
| ASTContext.cpp | 2623 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RD)) 2624 return ClassDecl->isEmpty(); 2636 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RD)) { 2637 if (ClassDecl->isDynamicClass()) 2641 for (const auto &Base : ClassDecl->bases()) {
|
| /src/external/apache2/llvm/dist/clang/lib/ASTMatchers/ |
| ASTMatchFinder.cpp | 1154 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); 1155 if (!ClassDecl) 1157 if (ClassDecl == Declaration) { 1162 if (Base.matches(*ClassDecl, this, &Result)) { 1166 if (!Directly && classIsDerivedFrom(ClassDecl, Base, Builder, Directly)) 1179 for (const ObjCInterfaceDecl *ClassDecl = Declaration->getSuperClass(); 1180 ClassDecl != nullptr; ClassDecl = ClassDecl->getSuperClass()) { 1182 if (objcClassHasMatchingCompatibilityAlias(ClassDecl, Base, Builder) [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Frontend/Rewrite/ |
| RewriteModernObjC.cpp | 316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 841 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); 848 WriteInternalIvarName(ClassDecl, D, IvarOffsetName); 903 ReferencedIvars[const_cast<ObjCInterfaceDecl *>(ClassDecl)].insert(D); 962 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1) 1060 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 1062 SourceLocation startLoc = ClassDecl->getBeginLoc(); 1381 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { 1383 if (ObjCSynthesizedStructs.count(ClassDecl)) 1386 ObjCInterfaceDecl *SuperClass = ClassDecl->getSuperClass() [all...] |
| RewriteObjC.cpp | 264 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 758 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface(); 761 S += ClassDecl->getIdentifier()->getName(); 810 // return objc_getProperty(self, _cmd, offsetof(ClassDecl, OID), 1) 905 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 907 SourceLocation startLoc = ClassDecl->getBeginLoc(); 1205 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { 1207 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) { 1210 ResultStr += ClassDecl->getNameAsString(); 1213 ResultStr += ClassDecl->getNameAsString() [all...] |
| /src/external/apache2/llvm/dist/clang/lib/Parse/ |
| ParseDeclCXX.cpp | 2065 void Parser::ParseBaseClause(Decl *ClassDecl) { 2074 BaseResult Result = ParseBaseSpecifier(ClassDecl); 2091 Actions.ActOnBaseSpecifiers(ClassDecl, BaseInfo); 2105 BaseResult Parser::ParseBaseSpecifier(Decl *ClassDecl) { 2167 return Actions.ActOnBaseSpecifier(ClassDecl, Range, Attributes, IsVirtual, 3933 Parser::PushParsingClass(Decl *ClassDecl, bool NonNestedClass, 3937 ClassStack.push(new ParsingClass(ClassDecl, NonNestedClass, IsInterface));
|
| /src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| Sema.h | 5621 ValueDecl *tryLookupCtorInitMemberDecl(CXXRecordDecl *ClassDecl, 5891 /// \param ClassDecl The class declaration into which the implicit 5896 CXXRecordDecl *ClassDecl); 5905 /// \param ClassDecl The class declaration into which the implicit 5909 CXXDestructorDecl *DeclareImplicitDestructor(CXXRecordDecl *ClassDecl); 5928 /// \param ClassDecl The class declaration into which the implicit 5932 CXXConstructorDecl *DeclareImplicitCopyConstructor(CXXRecordDecl *ClassDecl); 5941 /// \param ClassDecl The Class declaration into which the implicit 5946 CXXConstructorDecl *DeclareImplicitMoveConstructor(CXXRecordDecl *ClassDecl); 5955 /// \param ClassDecl The class declaration into which the implici [all...] |
| /src/external/apache2/llvm/dist/clang/include/clang/Parse/ |
| Parser.h | 3114 void ParseBaseClause(Decl *ClassDecl); 3115 BaseResult ParseBaseSpecifier(Decl *ClassDecl);
|