/external/clang/lib/Frontend/Rewrite/ |
D | RewriteModernObjC.cpp | 394 void RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, 405 void RewriteIvarOffsetSymbols(ObjCInterfaceDecl *CDecl, 455 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl, 856 ObjCContainerDecl *CDecl = in getIvarAccessString() local 859 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in getIvarAccessString() 860 CDecl = CatDecl->getClassInterface(); in getIvarAccessString() 861 std::string RecName = CDecl->getName(); in getIvarAccessString() 3765 const ObjCInterfaceDecl *CDecl = IV->getContainingInterface(); in ObjCIvarBitfieldGroupNo() local 3766 if (ObjCInterefaceHasBitfieldGroups.count(CDecl)) { in ObjCIvarBitfieldGroupNo() 3771 for (const ObjCIvarDecl *IVD = CDecl->all_declared_ivar_begin(); in ObjCIvarBitfieldGroupNo() [all …]
|
D | RewriteObjC.cpp | 322 void RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, 333 virtual void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl, 535 void RewriteObjCCategoryImplDecl(ObjCCategoryImplDecl *CDecl, 3085 void RewriteObjC::RewriteObjCInternalStruct(ObjCInterfaceDecl *CDecl, in RewriteObjCInternalStruct() argument 3087 assert(CDecl && "Class missing in SynthesizeObjCInternalStruct"); in RewriteObjCInternalStruct() 3088 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct() 3091 if (ObjCSynthesizedStructs.count(CDecl)) in RewriteObjCInternalStruct() 3093 ObjCInterfaceDecl *RCDecl = CDecl->getSuperClass(); in RewriteObjCInternalStruct() 3094 int NumIvars = CDecl->ivar_size(); in RewriteObjCInternalStruct() 3095 SourceLocation LocStart = CDecl->getLocStart(); in RewriteObjCInternalStruct() [all …]
|
/external/clang/lib/ARCMigrate/ |
D | ObjCMT.cpp | 57 void migrateAllMethodInstaceType(ASTContext &Ctx, ObjCContainerDecl *CDecl); 58 void migrateMethodInstanceType(ASTContext &Ctx, ObjCContainerDecl *CDecl, 63 void migrateFactoryMethod(ASTContext &Ctx, ObjCContainerDecl *CDecl, 78 void migrateARCSafeAnnotation(ASTContext &Ctx, ObjCContainerDecl *CDecl); 1011 ObjCContainerDecl *CDecl, in migrateMethodInstanceType() argument 1019 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType() 1028 migrateFactoryMethod(Ctx, CDecl, OM, OIT_Singleton); in migrateMethodInstanceType() 1035 migrateFactoryMethod(Ctx, CDecl, OM, OIT_ReturnsSelf); in migrateMethodInstanceType() 1041 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in migrateMethodInstanceType() 1043 if (ObjCCategoryDecl *CatDecl = dyn_cast<ObjCCategoryDecl>(CDecl)) in migrateMethodInstanceType() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDeclObjC.cpp | 1077 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU); in ActOnCompatibilityAlias() local 1078 if (!CDecl) { in ActOnCompatibilityAlias() 1087 ObjCCompatibleAliasDecl::Create(Context, CurContext, AtLoc, AliasName, CDecl); in ActOnCompatibilityAlias() 1721 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() local 1733 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 1736 CDecl->setInvalidDecl(); in ActOnStartCategoryInterface() 1737 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() 1741 return ActOnObjCContainerStartDefinition(CDecl); in ActOnStartCategoryInterface() 1780 CDecl = ObjCCategoryDecl::Create(Context, CurContext, AtInterfaceLoc, in ActOnStartCategoryInterface() 1784 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() [all …]
|
D | SemaObjCProperty.cpp | 200 if (ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(ClassDecl)) { in ActOnProperty() local 201 if (CDecl->IsClassExtension()) { in ActOnProperty() 422 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension() local 426 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 431 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 514 ObjCPropertyDecl *PDecl = CreatePropertyDecl(S, CDecl, AtLoc, LParenLoc, in HandlePropertyInClassExtension() 560 ObjCContainerDecl *CDecl, in CreatePropertyDecl() argument 613 DeclContext *DC = cast<DeclContext>(CDecl); in CreatePropertyDecl() 1536 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties() argument 1541 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() [all …]
|
D | SemaCodeComplete.cpp | 5491 ObjCInterfaceDecl *CDecl = nullptr; in CodeCompleteObjCSuperMessage() local 5494 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage() 5495 if (!CDecl) in CodeCompleteObjCSuperMessage() 5499 CDecl = CDecl->getSuperClass(); in CodeCompleteObjCSuperMessage() 5500 if (!CDecl) in CodeCompleteObjCSuperMessage() 5509 CDecl); in CodeCompleteObjCSuperMessage() 5519 if ((CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(ND))) { in CodeCompleteObjCSuperMessage() 5524 CDecl = Iface->getInterface(); in CodeCompleteObjCSuperMessage() 5544 if (CDecl) in CodeCompleteObjCSuperMessage() 5545 Receiver = ParsedType::make(Context.getObjCInterfaceType(CDecl)); in CodeCompleteObjCSuperMessage() [all …]
|
D | SemaDecl.cpp | 7123 for (TypoCorrection::const_decl_iterator CDecl = candidate.begin(), in ValidateCandidate() local 7125 CDecl != CDeclEnd; ++CDecl) { in ValidateCandidate() 7126 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in ValidateCandidate() 7209 for (TypoCorrection::decl_iterator CDecl = Correction.begin(), in DiagnoseInvalidRedeclaration() local 7211 CDecl != CDeclEnd; ++CDecl) { in DiagnoseInvalidRedeclaration() 7212 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in DiagnoseInvalidRedeclaration() 13760 if (ObjCCategoryDecl *CDecl = in ActOnIvar() local 13762 if (LangOpts.ObjCRuntime.isFragile() || !CDecl->IsClassExtension()) { in ActOnIvar() 13763 Diag(Loc, diag::err_misplaced_ivar) << CDecl->IsClassExtension(); in ActOnIvar() 14224 } else if (ObjCCategoryDecl *CDecl = in ActOnFields() local [all …]
|
D | SemaLookup.cpp | 4810 void TypoCorrection::addCorrectionDecl(NamedDecl *CDecl) { in addCorrectionDecl() argument 4811 if (!CDecl) return; in addCorrectionDecl() 4816 CorrectionDecls.push_back(CDecl); in addCorrectionDecl() 4819 CorrectionName = CDecl->getDeclName(); in addCorrectionDecl()
|
/external/clang/include/clang/Sema/ |
D | TypoCorrection.h | 154 void setCorrectionDecl(NamedDecl *CDecl) { in setCorrectionDecl() argument 156 addCorrectionDecl(CDecl); in setCorrectionDecl() 167 void addCorrectionDecl(NamedDecl *CDecl);
|
D | Sema.h | 3099 ObjCContainerDecl *CDecl, 3146 ObjCContainerDecl *CDecl,
|
/external/clang/lib/AST/ |
D | DeclPrinter.cpp | 452 CXXConstructorDecl *CDecl = dyn_cast<CXXConstructorDecl>(D); in VisitFunctionDecl() local 468 if ((CDecl && CDecl->isExplicitSpecified()) || in VisitFunctionDecl() 556 if (CDecl) { in VisitFunctionDecl() 558 for (const auto *BMInitializer : CDecl->inits()) { in VisitFunctionDecl()
|
D | ASTContext.cpp | 1971 void ASTContext::CollectInheritedProtocols(const Decl *CDecl, in CollectInheritedProtocols() argument 1973 if (const ObjCInterfaceDecl *OI = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectInheritedProtocols() 1989 } else if (const ObjCCategoryDecl *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectInheritedProtocols() 1993 } else if (const ObjCProtocolDecl *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
|
D | ASTImporter.cpp | 2837 Decl *CDecl = Importer.Import(DCXX->getLambdaContextDecl()); in VisitRecordDecl() local 2838 if (DCXX->getLambdaContextDecl() && !CDecl) in VisitRecordDecl() 2840 D2CXX->setLambdaMangling(DCXX->getLambdaManglingNumber(), CDecl); in VisitRecordDecl()
|
/external/clang/lib/Parse/ |
D | ParseObjc.cpp | 620 Decl *CDecl) { in ParseObjCInterfaceDeclList() argument 717 Diag(CDecl->getLocStart(), diag::note_objc_container_start) in ParseObjCInterfaceDeclList() 803 Diag(CDecl->getLocStart(), diag::note_objc_container_start) in ParseObjCInterfaceDeclList()
|
/external/clang/tools/libclang/ |
D | CIndex.cpp | 1077 ObjCCategoryDecl *CDecl = dyn_cast<ObjCCategoryDecl>(PD->getDeclContext()); in VisitObjCPropertyDecl() local 1078 if (!CDecl || !CDecl->IsClassExtension()) in VisitObjCPropertyDecl() 1081 ObjCInterfaceDecl *ID = CDecl->getClassInterface(); in VisitObjCPropertyDecl() 1096 if (MD->isPropertyAccessor() && MD->getLexicalDeclContext() == CDecl) in VisitObjCPropertyDecl() 1101 if (MD->isPropertyAccessor() && MD->getLexicalDeclContext() == CDecl) in VisitObjCPropertyDecl()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1951 void CollectInheritedProtocols(const Decl *CDecl,
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1340 Decl *CDecl);
|
/external/clang/include/clang/Basic/ |
D | Attr.td | 528 def CDecl : InheritableAttr {
|