| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteModernObjC.cpp | 3839 Result += CDecl->getName(); in ObjCIvarBitfieldGroupDecl() 3851 Result += CDecl->getName(); in ObjCIvarBitfieldGroupType() 3878 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct() 5855 RewriteInterfaceDecl(CDecl); in HandleTranslationUnit() 6489 if (CDecl->getImplementation()) in Write_class_t() 6575 rootClass ? CDecl : CDecl->getSuperClass(); in Write_class_t() 7077 CDecl->instance_properties()); in RewriteObjCClassMetaData() 7092 if (!CDecl->getSuperClass()) in RewriteObjCClassMetaData() 7114 if (!CDecl->getSuperClass()) in RewriteObjCClassMetaData() 7267 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl() local [all …]
|
| H A D | RewriteObjC.cpp | 3089 assert(CDecl->getName() != "" && in RewriteObjCInternalStruct() 3095 int NumIvars = CDecl->ivar_size(); in RewriteObjCInternalStruct() 3114 Result += CDecl->getNameAsString(); in RewriteObjCInternalStruct() 3143 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCInternalStruct() 5320 IVI = CDecl->ivar_begin(); in RewriteObjCClassMetaData() 5321 IVE = CDecl->ivar_end(); in RewriteObjCClassMetaData() 5455 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData() 5508 if (CDecl->protocol_begin() != CDecl->protocol_end()) { in RewriteObjCClassMetaData() 5620 ObjCCategoryDecl *CDecl in RewriteObjCCategoryImplDecl() local 5656 if (CDecl) in RewriteObjCCategoryImplDecl() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | ObjCMT.cpp | 1006 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType() 1037 migrateFactoryMethod(Ctx, CDecl, OM); in migrateMethodInstanceType() 1277 if (CDecl->isDeprecated() || IsCategoryNameWithDeprecatedSuffix(CDecl)) in migrateAllMethodInstaceType() 1281 for (auto *Method : CDecl->methods()) { in migrateAllMethodInstaceType() 1284 migrateMethodInstanceType(Ctx, CDecl, Method); in migrateAllMethodInstaceType() 1554 if (!isa<ObjCInterfaceDecl>(CDecl) || CDecl->isDeprecated()) in migrateARCSafeAnnotation() 1558 for (const auto *Method : CDecl->methods()) in migrateARCSafeAnnotation() 1848 if (canModify(CDecl)) in HandleTranslationUnit() 1849 migrateObjCContainerDecl(Ctx, CDecl); in HandleTranslationUnit() 1913 bool CanModify = canModify(CDecl); in HandleTranslationUnit() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 1176 if (!CDecl) { in ActOnCompatibilityAlias() 1825 ObjCCategoryDecl *CDecl; in ActOnStartCategoryInterface() local 1840 CDecl->setInvalidDecl(); in ActOnStartCategoryInterface() 1846 return CDecl; in ActOnStartCategoryInterface() 1908 CheckObjCDeclScope(CDecl); in ActOnStartCategoryInterface() 1910 return CDecl; in ActOnStartCategoryInterface() 1941 CDecl->setInvalidDecl(); in ActOnStartCategoryImplementation() 1944 CDecl->setInvalidDecl(); in ActOnStartCategoryImplementation() 1977 CheckObjCDeclScope(CDecl); in ActOnStartCategoryImplementation() 1979 return CDecl; in ActOnStartCategoryImplementation() [all …]
|
| H A D | SemaObjCProperty.cpp | 196 if (CDecl->IsClassExtension()) { in ActOnProperty() 419 ObjCCategoryDecl *CDecl = cast<ObjCCategoryDecl>(CurContext); in HandlePropertyInClassExtension() local 423 ObjCInterfaceDecl *CCPrimary = CDecl->getClassInterface(); in HandlePropertyInClassExtension() 428 Diag(CDecl->getLocation(), diag::err_continuation_class); in HandlePropertyInClassExtension() 614 DeclContext *DC = CDecl; in CreatePropertyDecl() 707 CDecl->hasAttr<ObjCDirectMembersAttr>()) { in CreatePropertyDecl() 708 if (isa<ObjCProtocolDecl>(CDecl)) { in CreatePropertyDecl() 1754 CollectImmediateProperties(ObjCContainerDecl *CDecl, in CollectImmediateProperties() argument 1823 if (ObjCInterfaceDecl *SDecl = CDecl->getSuperClass()) { in CollectSuperClassPropertyImplementations() 2012 isa<ObjCCategoryDecl>(CDecl) in DiagnoseUnimplementedAccessor() [all …]
|
| H A D | SemaCodeComplete.cpp | 8023 ObjCInterfaceDecl *CDecl = nullptr; in CodeCompleteObjCSuperMessage() local 8026 CDecl = CurMethod->getClassInterface(); in CodeCompleteObjCSuperMessage() 8027 if (!CDecl) in CodeCompleteObjCSuperMessage() 8031 CDecl = CDecl->getSuperClass(); in CodeCompleteObjCSuperMessage() 8032 if (!CDecl) in CodeCompleteObjCSuperMessage() 8049 if ((CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(ND))) { in CodeCompleteObjCSuperMessage() 8054 CDecl = Iface->getInterface(); in CodeCompleteObjCSuperMessage() 8074 if (CDecl) in CodeCompleteObjCSuperMessage() 8121 ObjCInterfaceDecl *CDecl = nullptr; in AddClassMessageCompletions() local 8129 CDecl = Interface->getInterface(); in AddClassMessageCompletions() [all …]
|
| H A D | SemaDecl.cpp | 9052 CDecl != CDeclEnd; ++CDecl) { in ValidateCandidate() 9053 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in ValidateCandidate() 9148 CDecl != CDeclEnd; ++CDecl) { in DiagnoseInvalidRedeclaration() 9149 FunctionDecl *FD = dyn_cast<FunctionDecl>(*CDecl); in DiagnoseInvalidRedeclaration() 18862 if (ObjCCategoryDecl *CDecl = in ActOnIvar() local 19625 } else if (ObjCCategoryDecl *CDecl = in ActOnFields() local 19633 ObjCInterfaceDecl *IDecl = CDecl->getClassInterface(); in ActOnFields() 19653 ClsFields[i]->setLexicalDeclContext(CDecl); in ActOnFields() 19654 CDecl->addDecl(ClsFields[i]); in ActOnFields() 19656 CDecl->setIvarLBraceLoc(LBrac); in ActOnFields() [all …]
|
| H A D | SemaLookup.cpp | 5526 void TypoCorrection::addCorrectionDecl(NamedDecl *CDecl) { in addCorrectionDecl() argument 5527 if (!CDecl) return; in addCorrectionDecl() 5532 CorrectionDecls.push_back(CDecl); in addCorrectionDecl() 5535 CorrectionName = CDecl->getDeclName(); in addCorrectionDecl()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | TypoCorrection.h | 166 void setCorrectionDecl(NamedDecl *CDecl) { in setCorrectionDecl() argument 168 addCorrectionDecl(CDecl); in setCorrectionDecl() 179 void addCorrectionDecl(NamedDecl *CDecl);
|
| H A D | Sema.h | 4891 ObjCContainerDecl *CDecl, 4941 ObjCContainerDecl *CDecl,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | DeclPrinter.cpp | 40 void PrintConstructorInitializers(CXXConstructorDecl *CDecl, 385 void DeclPrinter::PrintConstructorInitializers(CXXConstructorDecl *CDecl, in PrintConstructorInitializers() argument 388 for (const auto *BMInitializer : CDecl->inits()) { in PrintConstructorInitializers() 406 Out << CDecl->getNameAsString(); in PrintConstructorInitializers() 711 CXXConstructorDecl *CDecl = dyn_cast<CXXConstructorDecl>(D); in VisitFunctionDecl() local 848 if (CDecl) { in VisitFunctionDecl() 850 PrintConstructorInitializers(CDecl, Proto); in VisitFunctionDecl()
|
| H A D | TypePrinter.cpp | 1862 case attr::CDecl: OS << "cdecl"; break; in printAttributedAfter()
|
| H A D | ASTContext.cpp | 2581 void ASTContext::CollectInheritedProtocols(const Decl *CDecl, in CollectInheritedProtocols() argument 2583 if (const auto *OI = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectInheritedProtocols() 2599 } else if (const auto *OC = dyn_cast<ObjCCategoryDecl>(CDecl)) { in CollectInheritedProtocols() 2603 } else if (const auto *OP = dyn_cast<ObjCProtocolDecl>(CDecl)) { in CollectInheritedProtocols()
|
| H A D | Type.cpp | 3918 case attr::CDecl: in isCallingConv()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 642 Decl *CDecl) { in ParseObjCInterfaceDeclList() argument 838 Diag(CDecl->getBeginLoc(), diag::note_objc_container_start) in ParseObjCInterfaceDeclList()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2514 void CollectInheritedProtocols(const Decl *CDecl,
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1724 Decl *CDecl);
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | Attr.td | 1051 def CDecl : DeclOrTypeAttr {
|