| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 860 ObjCContainerDecl *CDecl = in getIvarAccessString() local 3842 Result += CDecl->getName(); in ObjCIvarBitfieldGroupDecl() 3854 Result += CDecl->getName(); in ObjCIvarBitfieldGroupType() 3881 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct() 5859 RewriteInterfaceDecl(CDecl); in HandleTranslationUnit() 6493 if (CDecl->getImplementation()) in Write_class_t() 6579 rootClass ? CDecl : CDecl->getSuperClass(); in Write_class_t() 7096 if (!CDecl->getSuperClass()) in RewriteObjCClassMetaData() 7118 if (!CDecl->getSuperClass()) in RewriteObjCClassMetaData() 7271 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl() local [all …]
|
| H A D | RewriteObjC.cpp | 3088 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct() 3094 int NumIvars = CDecl->ivar_size(); in RewriteObjCInternalStruct() 3142 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCInternalStruct() 5275 : (CDecl ? CDecl->ivar_size() : 0); in RewriteObjCClassMetaData() 5318 IVI = CDecl->ivar_begin(); in RewriteObjCClassMetaData() 5319 IVE = CDecl->ivar_end(); in RewriteObjCClassMetaData() 5453 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData() 5506 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData() 5618 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl() local 5654 if (CDecl) in RewriteObjCCategoryImplDecl() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1009 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType() 1040 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType() 1280 if (CDecl->isDeprecated() || IsCategoryNameWithDeprecatedSuffix(CDecl)) in migrateAllMethodInstaceType() 1284 for (auto *Method : CDecl->methods()) { in migrateAllMethodInstaceType() 1287 migrateMethodInstanceType(Ctx, CDecl, Method); in migrateAllMethodInstaceType() 1562 if (!isa<ObjCInterfaceDecl>(CDecl) || CDecl->isDeprecated()) in migrateARCSafeAnnotation() 1566 for (const auto *Method : CDecl->methods()) in migrateARCSafeAnnotation() 1857 if (canModify(CDecl)) in HandleTranslationUnit() 1858 migrateObjCContainerDecl(Ctx, CDecl); in HandleTranslationUnit() 1922 bool CanModify = canModify(CDecl); in HandleTranslationUnit() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 1160 if (!CDecl) { in ActOnCompatibilityAlias() 1799 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() local 1814 CDecl->setInvalidDecl(); in ActOnStartCategoryInterface() 1815 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() 1862 CurContext->addDecl(CDecl); in ActOnStartCategoryInterface() 1881 CheckObjCDeclScope(CDecl); in ActOnStartCategoryInterface() 1913 CDecl->setInvalidDecl(); in ActOnStartCategoryImplementation() 1916 CDecl->setInvalidDecl(); in ActOnStartCategoryImplementation() 1920 CurContext->addDecl(CDecl); in ActOnStartCategoryImplementation() 1936 CDecl->setInvalidDecl(); in ActOnStartCategoryImplementation() [all …]
|
| H A D | SemaObjCProperty.cpp | 201 if (CDecl->IsClassExtension()) { in ActOnProperty() 427 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension() local 431 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 436 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 621 DeclContext *DC = CDecl; in CreatePropertyDecl() 1701 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties() argument 1770 if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) { in CollectSuperClassPropertyImplementations() 1960 isa<ObjCCategoryDecl>(CDecl) in DiagnoseUnimplementedAccessor() 1981 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() 2002 CollectImmediateProperties(CDecl, PropMap, NoNeedToImplPropMap, in DiagnoseUnimplementedProperties() [all …]
|
| H A D | SemaCodeComplete.cpp | 6251 ObjCInterfaceDecl *CDecl = nullptr; in CodeCompleteObjCSuperMessage() local 6254 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage() 6255 if (!CDecl) in CodeCompleteObjCSuperMessage() 6259 CDecl = CDecl->getSuperClass(); in CodeCompleteObjCSuperMessage() 6260 if (!CDecl) in CodeCompleteObjCSuperMessage() 6277 if ((CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(ND))) { in CodeCompleteObjCSuperMessage() 6282 CDecl = Iface->getInterface(); in CodeCompleteObjCSuperMessage() 6301 if (CDecl) in CodeCompleteObjCSuperMessage() 6348 ObjCInterfaceDecl *CDecl = nullptr; in AddClassMessageCompletions() local 6356 CDecl = Interface->getInterface(); in AddClassMessageCompletions() [all …]
|
| H A D | SemaDecl.cpp | 7671 CDecl != CDeclEnd; ++CDecl) { in ValidateCandidate() 7672 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in ValidateCandidate() 7763 CDecl != CDeclEnd; ++CDecl) { in DiagnoseInvalidRedeclaration() 7764 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in DiagnoseInvalidRedeclaration() 15630 if (ObjCCategoryDecl *CDecl = in ActOnIvar() local 16132 } else if (ObjCCategoryDecl *CDecl = in ActOnFields() local 16140 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); in ActOnFields() 16160 ClsFields[i]->setLexicalDeclContext(CDecl); in ActOnFields() 16161 CDecl->addDecl(ClsFields[i]); in ActOnFields() 16163 CDecl->setIvarLBraceLoc(LBrac); in ActOnFields() [all …]
|
| H A D | SemaLookup.cpp | 4895 void TypoCorrection::addCorrectionDecl(NamedDecl *CDecl) { in addCorrectionDecl() argument 4896 if (!CDecl) return; in addCorrectionDecl() 4901 CorrectionDecls.push_back(CDecl); in addCorrectionDecl() 4904 CorrectionName = CDecl->getDeclName(); in addCorrectionDecl()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 167 void setCorrectionDecl(NamedDecl *CDecl) { in setCorrectionDecl() argument 169 addCorrectionDecl(CDecl); in setCorrectionDecl() 180 void addCorrectionDecl(NamedDecl *CDecl);
|
| H A D | Sema.h | 3455 ObjCContainerDecl *CDecl, 3505 ObjCContainerDecl *CDecl,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 40 void PrintConstructorInitializers(CXXConstructorDecl *CDecl, 283 void DeclPrinter::PrintConstructorInitializers(CXXConstructorDecl *CDecl, in PrintConstructorInitializers() argument 286 for (const auto *BMInitializer : CDecl->inits()) { in PrintConstructorInitializers() 566 CXXConstructorDecl *CDecl = dyn_cast<CXXConstructorDecl>(D); in VisitFunctionDecl() local 583 if ((CDecl && CDecl->isExplicitSpecified()) || in VisitFunctionDecl() 692 if (CDecl) { in VisitFunctionDecl() 694 PrintConstructorInitializers(CDecl, Proto); in VisitFunctionDecl()
|
| H A D | TypePrinter.cpp | 1489 case attr::CDecl: OS << "cdecl"; break; in printAttributedAfter()
|
| H A D | ASTContext.cpp | 2278 void ASTContext::CollectInheritedProtocols(const Decl *CDecl, in CollectInheritedProtocols() argument 2280 if (const auto *OI = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectInheritedProtocols() 2296 } else if (const auto *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectInheritedProtocols() 2300 } else if (const auto *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
|
| H A D | Type.cpp | 3236 case attr::CDecl: in isCallingConv()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 595 Decl *CDecl) { in ParseObjCInterfaceDeclList() argument 692 Diag(CDecl->getBeginLoc(), diag::note_objc_container_start) in ParseObjCInterfaceDeclList() 778 Diag(CDecl->getBeginLoc(), diag::note_objc_container_start) in ParseObjCInterfaceDeclList()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2234 void CollectInheritedProtocols(const Decl *CDecl,
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 1521 Decl *CDecl);
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | Attr.td | 786 def CDecl : DeclOrTypeAttr {
|