/external/llvm-project/clang-tools-extra/clang-tidy/utils/ |
D | TypeTraits.cpp | 53 const auto *ClassDecl = dyn_cast<CXXRecordDecl>(&RecordDecl); in recordIsTriviallyDefaultConstructible() local 55 if (!ClassDecl) in recordIsTriviallyDefaultConstructible() 63 if (ClassDecl->hasUserProvidedDefaultConstructor()) in recordIsTriviallyDefaultConstructible() 66 if (ClassDecl->isPolymorphic()) in recordIsTriviallyDefaultConstructible() 69 if (ClassDecl->hasTrivialDefaultConstructor()) in recordIsTriviallyDefaultConstructible() 74 for (const FieldDecl *Field : ClassDecl->fields()) { in recordIsTriviallyDefaultConstructible() 81 for (const CXXBaseSpecifier &Base : ClassDecl->bases()) { in recordIsTriviallyDefaultConstructible()
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | ProTypeMemberInitCheck.cpp | 216 void getInitializationsInOrder(const CXXRecordDecl &ClassDecl, in getInitializationsInOrder() argument 219 for (const auto &Base : ClassDecl.bases()) { in getInitializationsInOrder() 225 forEachField(ClassDecl, ClassDecl.fields(), in getInitializationsInOrder() 334 if (const CXXRecordDecl *ClassDecl = Type->getAsCXXRecordDecl()) { in isEmpty() local 335 return ClassDecl->isEmpty(); in isEmpty() 391 ASTContext &Context, const CXXRecordDecl &ClassDecl, in checkMissingMemberInitializer() argument 393 bool IsUnion = ClassDecl.isUnion(); in checkMissingMemberInitializer() 395 if (IsUnion && ClassDecl.hasInClassInitializer()) in checkMissingMemberInitializer() 400 forEachField(ClassDecl, ClassDecl.fields(), [&](const FieldDecl *F) { in checkMissingMemberInitializer() 426 forEachField(ClassDecl, ClassDecl.fields(), in checkMissingMemberInitializer() [all …]
|
D | ProTypeMemberInitCheck.h | 51 const CXXRecordDecl &ClassDecl, 57 const CXXRecordDecl &ClassDecl,
|
/external/llvm-project/clang-tools-extra/clang-tidy/google/ |
D | AvoidNSObjectNewCheck.cpp | 41 static bool isInitMethodAvailable(const ObjCInterfaceDecl *ClassDecl) { in isInitMethodAvailable() argument 42 while (ClassDecl != nullptr) { in isInitMethodAvailable() 43 for (const auto *MethodDecl : ClassDecl->instance_methods()) { in isInitMethodAvailable() 47 ClassDecl = ClassDecl->getSuperClass(); in isInitMethodAvailable()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGClass.cpp | 196 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, in GetNonVirtualBaseClassOffset() argument 202 computeNonVirtualBaseClassOffset(ClassDecl, PathBegin, PathEnd); in GetNonVirtualBaseClassOffset() 558 const CXXRecordDecl *ClassDecl, in EmitBaseInitializer() argument 575 CGF.InitializeVTablePointers(ClassDecl); in EmitBaseInitializer() 580 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, in EmitBaseInitializer() 589 CGF.getOverlapForBaseInit(ClassDecl, BaseClassDecl, isBaseVirtual)); in EmitBaseInitializer() 631 const CXXRecordDecl *ClassDecl, in EmitMemberInitializer() argument 645 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() 780 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local 783 if (!ClassDecl->mayInsertExtraPadding()) return; in EmitAsanPrologueOrEpilogue() [all …]
|
/external/clang/lib/Sema/ |
D | SemaCUDA.cpp | 225 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() argument 240 for (const auto &B : ClassDecl->bases()) { in inferCUDATargetForImplicitSpecialMember() 246 if (!ClassDecl->isAbstract()) { in inferCUDATargetForImplicitSpecialMember() 247 for (const auto &VB : ClassDecl->vbases()) { in inferCUDATargetForImplicitSpecialMember() 280 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember() 291 for (const auto *F : ClassDecl->fields()) { in inferCUDATargetForImplicitSpecialMember() 325 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember() 409 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local 412 if (ClassDecl->isDynamicClass()) in isEmptyCudaDestructor() 417 if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) { in isEmptyCudaDestructor() [all …]
|
D | SemaDeclCXX.cpp | 1657 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers() argument 1659 if (!ClassDecl || Bases.empty()) in ActOnBaseSpecifiers() 1662 AdjustDeclIfTemplate(ClassDecl); in ActOnBaseSpecifiers() 1663 AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl), Bases); in ActOnBaseSpecifiers() 2747 CXXRecordDecl *ClassDecl, in FindBaseInitializer() argument 2753 for (const auto &Base : ClassDecl->bases()) { in FindBaseInitializer() 2771 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 2772 SemaRef.Context.getTypeDeclType(ClassDecl), in FindBaseInitializer() 2828 explicit MemInitializerValidatorCCC(CXXRecordDecl *ClassDecl) in MemInitializerValidatorCCC() argument 2829 : ClassDecl(ClassDecl) {} in MemInitializerValidatorCCC() [all …]
|
D | SemaDeclObjC.cpp | 3706 Decl *ClassDecl = cast<Decl>(OCD); in ActOnAtEnd() local 3709 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl) in ActOnAtEnd() 3710 || isa<ObjCProtocolDecl>(ClassDecl); in ActOnAtEnd() 3711 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd() 3771 if (isa<ObjCInterfaceDecl>(ClassDecl)) { in ActOnAtEnd() 3773 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnAtEnd() 3783 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd() 3792 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { in ActOnAtEnd() 3865 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) { in ActOnAtEnd() 3897 ActOnDocumentableDecl(ClassDecl); in ActOnAtEnd() [all …]
|
D | SemaObjCProperty.cpp | 198 ObjCContainerDecl *ClassDecl = cast<ObjCContainerDecl>(CurContext); in ActOnProperty() local 200 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 214 Res = CreatePropertyDecl(S, ClassDecl, AtLoc, LParenLoc, FD, in ActOnProperty() 224 (isa<ObjCInterfaceDecl>(ClassDecl) || in ActOnProperty() 225 isa<ObjCProtocolDecl>(ClassDecl))); in ActOnProperty() 232 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 262 } else if (ObjCCategoryDecl *Cat = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() 270 ObjCProtocolDecl *Proto = cast<ObjCProtocolDecl>(ClassDecl); in ActOnProperty() 814 ObjCInterfaceDecl *ClassDecl, in DiagnosePropertyMismatchDeclInProtocols() argument 817 for (const auto *PI : ClassDecl->all_referenced_protocols()) { in DiagnosePropertyMismatchDeclInProtocols() [all …]
|
/external/clang/lib/CodeGen/ |
D | CGClass.cpp | 175 CodeGenModule::GetNonVirtualBaseClassOffset(const CXXRecordDecl *ClassDecl, in GetNonVirtualBaseClassOffset() argument 181 computeNonVirtualBaseClassOffset(ClassDecl, PathBegin, PathEnd); in GetNonVirtualBaseClassOffset() 521 const CXXRecordDecl *ClassDecl, in EmitBaseInitializer() argument 543 CGF.InitializeVTablePointers(ClassDecl); in EmitBaseInitializer() 548 CGF.GetAddressOfDirectBaseInCompleteClass(ThisPtr, ClassDecl, in EmitBaseInitializer() 696 const CXXRecordDecl *ClassDecl, in EmitMemberInitializer() argument 710 QualType RecordTy = CGF.getContext().getTypeDeclType(ClassDecl); in EmitMemberInitializer() 856 const CXXRecordDecl *ClassDecl = in EmitAsanPrologueOrEpilogue() local 859 if (!ClassDecl->mayInsertExtraPadding()) return; in EmitAsanPrologueOrEpilogue() 867 const ASTRecordLayout &Info = Context.getASTRecordLayout(ClassDecl); in EmitAsanPrologueOrEpilogue() [all …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 2770 void Sema::ActOnBaseSpecifiers(Decl *ClassDecl, in ActOnBaseSpecifiers() argument 2772 if (!ClassDecl || Bases.empty()) in ActOnBaseSpecifiers() 2775 AdjustDeclIfTemplate(ClassDecl); in ActOnBaseSpecifiers() 2776 AttachBaseSpecifiers(cast<CXXRecordDecl>(ClassDecl), Bases); in ActOnBaseSpecifiers() 4015 CXXRecordDecl *ClassDecl, in FindBaseInitializer() argument 4021 for (const auto &Base : ClassDecl->bases()) { in FindBaseInitializer() 4039 if (SemaRef.IsDerivedFrom(ClassDecl->getLocation(), in FindBaseInitializer() 4040 SemaRef.Context.getTypeDeclType(ClassDecl), in FindBaseInitializer() 4095 explicit MemInitializerValidatorCCC(CXXRecordDecl *ClassDecl) in MemInitializerValidatorCCC() argument 4096 : ClassDecl(ClassDecl) {} in MemInitializerValidatorCCC() [all …]
|
D | SemaCUDA.cpp | 281 bool Sema::inferCUDATargetForImplicitSpecialMember(CXXRecordDecl *ClassDecl, in inferCUDATargetForImplicitSpecialMember() argument 308 for (const auto &B : ClassDecl->bases()) { in inferCUDATargetForImplicitSpecialMember() 314 if (!ClassDecl->isAbstract()) { in inferCUDATargetForImplicitSpecialMember() 315 for (const auto &VB : ClassDecl->vbases()) { in inferCUDATargetForImplicitSpecialMember() 347 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember() 358 for (const auto *F : ClassDecl->fields()) { in inferCUDATargetForImplicitSpecialMember() 391 Diag(ClassDecl->getLocation(), in inferCUDATargetForImplicitSpecialMember() 481 const CXXRecordDecl *ClassDecl = DD->getParent(); in isEmptyCudaDestructor() local 484 if (ClassDecl->isDynamicClass()) in isEmptyCudaDestructor() 494 if (!llvm::all_of(ClassDecl->bases(), [&](const CXXBaseSpecifier &BS) { in isEmptyCudaDestructor() [all …]
|
D | SemaDeclObjC.cpp | 3973 Decl *ClassDecl = OCD; in ActOnAtEnd() local 3976 isa<ObjCInterfaceDecl>(ClassDecl) || isa<ObjCCategoryDecl>(ClassDecl) in ActOnAtEnd() 3977 || isa<ObjCProtocolDecl>(ClassDecl); in ActOnAtEnd() 3978 bool checkIdenticalMethods = isa<ObjCImplementationDecl>(ClassDecl); in ActOnAtEnd() 4053 if (isa<ObjCInterfaceDecl>(ClassDecl)) { in ActOnAtEnd() 4055 } else if (ObjCCategoryDecl *C = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnAtEnd() 4067 if (ObjCContainerDecl *CDecl = dyn_cast<ObjCContainerDecl>(ClassDecl)) { in ActOnAtEnd() 4076 if (ObjCImplementationDecl *IC=dyn_cast<ObjCImplementationDecl>(ClassDecl)) { in ActOnAtEnd() 4165 dyn_cast<ObjCCategoryImplDecl>(ClassDecl)) { in ActOnAtEnd() 4176 } else if (const auto *IntfDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnAtEnd() [all …]
|
/external/clang/lib/AST/ |
D | DeclObjC.cpp | 225 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local 226 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration() 600 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local 601 while (ClassDecl != nullptr) { in lookupInstanceVariable() 602 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable() 603 clsDeclared = ClassDecl; in lookupInstanceVariable() 607 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable() 609 clsDeclared = ClassDecl; in lookupInstanceVariable() 614 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable() 631 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local [all …]
|
D | Type.cpp | 1870 if (CXXRecordDecl *ClassDecl = dyn_cast<CXXRecordDecl>(Record->getDecl())) in isAggregateType() local 1871 return ClassDecl->isAggregate(); in isAggregateType() 2026 if (CXXRecordDecl *ClassDecl in isCXX98PODType() local 2028 return ClassDecl->isPOD(); in isCXX98PODType() 2080 if (const CXXRecordDecl *ClassDecl = in isTrivialType() local 2086 return ClassDecl->hasDefaultConstructor() && in isTrivialType() 2087 !ClassDecl->hasNonTrivialDefaultConstructor() && in isTrivialType() 2088 ClassDecl->isTriviallyCopyable(); in isTrivialType() 2141 if (const CXXRecordDecl *ClassDecl = in isTriviallyCopyableType() local 2143 if (!ClassDecl->isTriviallyCopyable()) return false; in isTriviallyCopyableType() [all …]
|
/external/llvm-project/clang/lib/AST/ |
D | DeclObjC.cpp | 249 if (const auto *ClassDecl = dyn_cast<ObjCInterfaceDecl>(this)) { in FindPropertyDeclaration() local 250 for (const auto *Ext : ClassDecl->visible_extensions()) { in FindPropertyDeclaration() 631 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() local 632 while (ClassDecl != nullptr) { in lookupInstanceVariable() 633 if (ObjCIvarDecl *I = ClassDecl->getIvarDecl(ID)) { in lookupInstanceVariable() 634 clsDeclared = ClassDecl; in lookupInstanceVariable() 638 for (const auto *Ext : ClassDecl->visible_extensions()) { in lookupInstanceVariable() 640 clsDeclared = ClassDecl; in lookupInstanceVariable() 645 ClassDecl = ClassDecl->getSuperClass(); in lookupInstanceVariable() 662 ObjCInterfaceDecl* ClassDecl = this; in lookupInheritedClass() local [all …]
|
D | Type.cpp | 94 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass() local 95 return ClassDecl && ClassDecl->mayBeDynamicClass(); in mayBeDynamicClass() 99 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass() local 100 return !ClassDecl || ClassDecl->mayBeNonDynamicClass(); in mayBeNotDynamicClass() 2184 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(Record->getDecl())) in isAggregateType() local 2185 return ClassDecl->isAggregate(); in isAggregateType() 2377 if (const auto *ClassDecl = in isCXX98PODType() local 2379 return ClassDecl->isPOD(); in isCXX98PODType() 2420 if (const auto *ClassDecl = dyn_cast<CXXRecordDecl>(RT->getDecl())) { in isTrivialType() local 2425 return ClassDecl->hasDefaultConstructor() && in isTrivialType() [all …]
|
/external/clang/test/Parser/ |
D | skip-function-bodies.mm | 30 // CHECK: skip-function-bodies.mm:3:7: ClassDecl=A:3:7 (Definition) Extent=[3:1 - 14:2] 31 // CHECK: skip-function-bodies.mm:4:9: ClassDecl=B:4:9 (Definition) Extent=[4:3 - 4:13] 45 // CHECK-NOT: skip-function-bodies.mm:27:9: ClassDecl=K:27:9 (Definition) Extent=[27:3 - 27:13]
|
/external/llvm-project/clang/test/Parser/ |
D | skip-function-bodies.mm | 31 // CHECK: skip-function-bodies.mm:3:7: ClassDecl=A:3:7 (Definition) Extent=[3:1 - 14:2] 32 // CHECK: skip-function-bodies.mm:4:9: ClassDecl=B:4:9 (Definition) Extent=[4:3 - 4:13] 46 // CHECK-NOT: skip-function-bodies.mm:27:9: ClassDecl=K:27:9 (Definition) Extent=[27:3 - 27:13]
|
/external/llvm-project/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 1023 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); in classIsDerivedFrom() local 1024 if (!ClassDecl) in classIsDerivedFrom() 1026 if (ClassDecl == Declaration) { in classIsDerivedFrom() 1031 if (Base.matches(*ClassDecl, this, &Result)) { in classIsDerivedFrom() 1035 if (!Directly && classIsDerivedFrom(ClassDecl, Base, Builder, Directly)) in classIsDerivedFrom() 1048 for (const ObjCInterfaceDecl *ClassDecl = Declaration->getSuperClass(); in objcClassIsDerivedFrom() local 1049 ClassDecl != nullptr; ClassDecl = ClassDecl->getSuperClass()) { in objcClassIsDerivedFrom() 1051 if (objcClassHasMatchingCompatibilityAlias(ClassDecl, Base, Builder)) in objcClassIsDerivedFrom() 1055 const Type *TypeNode = ClassDecl->getTypeForDecl(); in objcClassIsDerivedFrom() 1059 if (Base.matches(*ClassDecl, this, Builder)) in objcClassIsDerivedFrom()
|
/external/clang/lib/ASTMatchers/ |
D | ASTMatchFinder.cpp | 796 CXXRecordDecl *ClassDecl = getAsCXXRecordDeclOrPrimaryTemplate(TypeNode); in classIsDerivedFrom() local 797 if (!ClassDecl) in classIsDerivedFrom() 799 if (ClassDecl == Declaration) { in classIsDerivedFrom() 805 if (Base.matches(*ClassDecl, this, &Result)) { in classIsDerivedFrom() 809 if (classIsDerivedFrom(ClassDecl, Base, Builder)) in classIsDerivedFrom()
|
/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 837 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); in getIvarAccessString() local 844 WriteInternalIvarName(ClassDecl, D, IvarOffsetName); in getIvarAccessString() 901 ReferencedIvars[const_cast<ObjCInterfaceDecl *>(ClassDecl)].insert(D); in getIvarAccessString() 1058 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() argument 1060 SourceLocation startLoc = ClassDecl->getLocStart(); in RewriteForwardClassEpilogue() 1374 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() argument 1376 if (ObjCSynthesizedStructs.count(ClassDecl)) in RewriteInterfaceDecl() 1379 ObjCInterfaceDecl *SuperClass = ClassDecl->getSuperClass(); in RewriteInterfaceDecl() 1385 if (!ObjCWrittenInterfaces.count(ClassDecl->getCanonicalDecl())) { in RewriteInterfaceDecl() [all …]
|
D | RewriteObjC.cpp | 264 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 757 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface(); in getIvarAccessString() local 760 S += ClassDecl->getIdentifier()->getName(); in getIvarAccessString() 901 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() argument 903 SourceLocation startLoc = ClassDecl->getLocStart(); in RewriteForwardClassEpilogue() 1196 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() argument 1198 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) { in RewriteInterfaceDecl() 1201 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() 1204 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() 1207 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() [all …]
|
/external/llvm-project/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 316 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 841 const ObjCInterfaceDecl *ClassDecl = D->getContainingInterface(); in getIvarAccessString() local 848 WriteInternalIvarName(ClassDecl, D, IvarOffsetName); in getIvarAccessString() 903 ReferencedIvars[const_cast<ObjCInterfaceDecl *>(ClassDecl)].insert(D); in getIvarAccessString() 1060 void RewriteModernObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() argument 1062 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() 1381 void RewriteModernObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() argument 1383 if (ObjCSynthesizedStructs.count(ClassDecl)) in RewriteInterfaceDecl() 1386 ObjCInterfaceDecl *SuperClass = ClassDecl->getSuperClass(); in RewriteInterfaceDecl() 1392 if (!ObjCWrittenInterfaces.count(ClassDecl->getCanonicalDecl())) { in RewriteInterfaceDecl() [all …]
|
D | RewriteObjC.cpp | 264 void RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, 758 const ObjCInterfaceDecl *ClassDecl = OID->getContainingInterface(); in getIvarAccessString() local 761 S += ClassDecl->getIdentifier()->getName(); in getIvarAccessString() 905 void RewriteObjC::RewriteForwardClassEpilogue(ObjCInterfaceDecl *ClassDecl, in RewriteForwardClassEpilogue() argument 907 SourceLocation startLoc = ClassDecl->getBeginLoc(); in RewriteForwardClassEpilogue() 1205 void RewriteObjC::RewriteInterfaceDecl(ObjCInterfaceDecl *ClassDecl) { in RewriteInterfaceDecl() argument 1207 if (!ObjCForwardDecls.count(ClassDecl->getCanonicalDecl())) { in RewriteInterfaceDecl() 1210 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() 1213 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() 1216 ResultStr += ClassDecl->getNameAsString(); in RewriteInterfaceDecl() [all …]
|