HomeSort by: relevance | last modified time | path
    Searched defs:ClassDecl (Results 1 - 14 of 14) sorted by relevancy

  /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...]
  /src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGVTables.cpp 91 auto ClassDecl = ResultType->getPointeeType()->getAsCXXRecordDecl();
92 auto ClassAlign = CGF.CGM.getClassPointerAlignment(ClassDecl);
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...]
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();
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...]
  /src/external/apache2/llvm/dist/clang/lib/Sema/
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...]
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...]
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);
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/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...]

Completed in 52 milliseconds