| /llvm-project-15.0.7/clang/test/Index/ |
| H A D | retain-excluded-conditional-blocks.m | 3 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=MyCls 10 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test1 21 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test4 26 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test5 29 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test6 35 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test7 43 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test9 46 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test10 51 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test11 59 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test13 [all …]
|
| H A D | single-file-parse.m | 7 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=MyCls 14 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test1 25 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test4 30 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test5 33 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test6 39 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test7 47 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test9 50 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test10 55 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test11 63 // CHECK: [[@LINE+1]]:12: ObjCInterfaceDecl=Test13 [all …]
|
| H A D | complete-interfaces.m | 23 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int1} 24 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int2} 25 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int3} 26 // CHECK-CC1: ObjCInterfaceDecl:{TypedText Int4} 28 // CHECK-CC2: ObjCInterfaceDecl:{TypedText Int1} 29 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int2} 30 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int3} 31 // CHECK-CC2-NEXT: ObjCInterfaceDecl:{TypedText Int4} 33 // CHECK-CC3: ObjCInterfaceDecl:{TypedText Int1} 37 // CHECK-CC4: ObjCInterfaceDecl:{TypedText Int1} [all …]
|
| H A D | annotate-tokens.m | 158 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=Foo:1:12 159 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=Foo:1:12 160 // CHECK: Identifier: "Foo" [1:12 - 1:15] ObjCInterfaceDecl=Foo:1:12 173 // CHECK: Punctuation: "@" [3:1 - 3:2] ObjCInterfaceDecl=Foo:1:12 174 // CHECK: Keyword: "end" [3:2 - 3:5] ObjCInterfaceDecl=Foo:1:12 210 // CHECK: Punctuation: "@" [15:1 - 15:2] ObjCInterfaceDecl=Bar:15:12 213 // CHECK: Punctuation: "{" [16:1 - 16:2] ObjCInterfaceDecl=Bar:15:12 216 // CHECK: Punctuation: ";" [17:17 - 17:18] ObjCInterfaceDecl=Bar:15:12 222 // CHECK: Punctuation: "}" [19:1 - 19:2] ObjCInterfaceDecl=Bar:15:12 223 // CHECK: Punctuation: "@" [20:1 - 20:2] ObjCInterfaceDecl=Bar:15:12 [all …]
|
| H A D | c-index-getCursor-test.m | 63 // CHECK: [3:1 - 7:1] ObjCInterfaceDecl=Foo:3:12 65 // CHECK: [7:7 - 8:1] ObjCInterfaceDecl=Foo:3:12 67 // CHECK: [8:8 - 10:5] ObjCInterfaceDecl=Foo:3:12 69 // CHECK: [12:1 - 12:18] ObjCInterfaceDecl=Bar:12:12 71 // CHECK: [12:21 - 16:5] ObjCInterfaceDecl=Bar:12:12 93 // CHECK: [31:1 - 31:18] ObjCInterfaceDecl=Baz:31:12 95 // CHECK: [31:21 - 31:23] ObjCInterfaceDecl=Baz:31:12 97 // CHECK: [31:27 - 33:5] ObjCInterfaceDecl=Baz:31:12 99 // CHECK: [33:16 - 36:1] ObjCInterfaceDecl=Baz:31:12 103 // CHECK: [36:21 - 38:5] ObjCInterfaceDecl=Baz:31:12
|
| H A D | arc-annotate.m | 13 // CHECK: Punctuation: "@" [1:1 - 1:2] ObjCInterfaceDecl=A:1:12 14 // CHECK: Keyword: "interface" [1:2 - 1:11] ObjCInterfaceDecl=A:1:12 15 // CHECK: Identifier: "A" [1:12 - 1:13] ObjCInterfaceDecl=A:1:12 25 // CHECK: Punctuation: ";" [2:42 - 2:43] ObjCInterfaceDecl=A:1:12
|
| H A D | TestClassDecl.m | 19 // CHECK-scan: [8:1 - 8:8] ObjCInterfaceDecl=Foo:8:8 22 // CHECK-scan: [10:1 - 11:5] ObjCInterfaceDecl=Foo:10:12 30 // CHECK-load: TestClassDecl.m:10:12: ObjCInterfaceDecl=Foo:10:12 Extent=[10:1 - 11:5]
|
| H A D | properties-class-extensions.m | 46 // CHECK: properties-class-extensions.m:4:12: ObjCInterfaceDecl=Foo:4:12 Extent=[4:1 - 4:23] 62 // CHECK: properties-class-extensions.m:15:12: ObjCInterfaceDecl=Bar:15:12 Extent=[15:1 - 17:5] 73 // CHECK-NOT: properties-class-extensions.m:24:8: ObjCInterfaceDecl=Rdar8467189_Bar:24:8 79 // CHECK: properties-class-extensions.m:28:12: ObjCInterfaceDecl=Rdar8467189_Foo:28:12 Extent=[28:1… 90 // CHECK: properties-class-extensions.m:35:12: ObjCInterfaceDecl=Qux:35:12 Extent=[35:1 - 36:5]
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | DeclObjC.cpp | 319 void ObjCInterfaceDecl::anchor() {} in anchor() 351 ObjCInterfaceDecl *ObjCInterfaceDecl::getSuperClass() const { in getSuperClass() 436 const ObjCInterfaceDecl *ObjCInterfaceDecl::isObjCRequiresPropertyDefs() const { in isObjCRequiresPropertyDefs() 487 const ObjCInterfaceDecl * 639 ObjCInterfaceDecl* ClassDecl = this; in lookupInstanceVariable() 661 ObjCInterfaceDecl *ObjCInterfaceDecl::lookupInheritedClass( in lookupInheritedClass() 1507 ObjCInterfaceDecl *ObjCInterfaceDecl::Create(const ASTContext &C, in Create() 1523 ObjCInterfaceDecl *ObjCInterfaceDecl::CreateDeserialized(const ASTContext &C, in CreateDeserialized() 1532 ObjCInterfaceDecl::ObjCInterfaceDecl(const ASTContext &C, DeclContext *DC, in ObjCInterfaceDecl() function in ObjCInterfaceDecl 1593 if (ObjCInterfaceDecl *ID = in getObjCRuntimeNameAsString() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | DeclObjC.h | 53 class ObjCInterfaceDecl; variable 318 ObjCInterfaceDecl *getClassInterface(); 1161 ObjCInterfaceDecl *Definition = nullptr; 1527 ObjCInterfaceDecl *getDefinition() { in getDefinition() 1564 ObjCInterfaceDecl *getSuperClass() const; 1811 ObjCInterfaceDecl *ClassDeclared; in lookupInstanceVariable() 1954 ObjCInterfaceDecl *getContainingInterface(); 2278 ObjCInterfaceDecl *ClassInterface; 2423 ObjCInterfaceDecl *ClassInterface; 2550 ObjCInterfaceDecl *SuperClass; [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGObjCRuntime.h | 48 class ObjCInterfaceDecl; variable 81 const ObjCInterfaceDecl *OID, 88 const ObjCInterfaceDecl *OID, 174 const ObjCInterfaceDecl *Class = nullptr, 188 const ObjCInterfaceDecl *OID, 203 const ObjCInterfaceDecl *Class, 273 const ObjCInterfaceDecl *OID) = 0; 310 const ObjCInterfaceDecl *Interface, 344 const ObjCInterfaceDecl *classReceiver, 346 static bool isWeakLinkedClass(const ObjCInterfaceDecl *cls); [all …]
|
| /llvm-project-15.0.7/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/ |
| H A D | AppleObjCDeclVendor.cpp | 48 const clang::ObjCInterfaceDecl *interface_decl = in FindExternalVisibleDeclsByName() 49 llvm::dyn_cast<clang::ObjCInterfaceDecl>(decl_ctx); in FindExternalVisibleDeclsByName() 54 clang::ObjCInterfaceDecl *non_const_interface_decl = in FindExternalVisibleDeclsByName() 55 const_cast<clang::ObjCInterfaceDecl *>(interface_decl); in FindExternalVisibleDeclsByName() 86 void CompleteType(clang::ObjCInterfaceDecl *interface_decl) override { in CompleteType() 144 clang::ObjCInterfaceDecl * 164 clang::ObjCInterfaceDecl *new_iface_decl = clang::ObjCInterfaceDecl::Create( in GetDeclForISA() 300 clang::ObjCInterfaceDecl *interface_decl, const char *name, in BuildMethod() 425 clang::ObjCInterfaceDecl *superclass_decl = GetDeclForISA(isa); in FinishDecl() 555 if (clang::ObjCInterfaceDecl *result_iface_decl = in FindDecls() [all …]
|
| H A D | AppleObjCDeclVendor.h | 36 clang::ObjCInterfaceDecl *GetDeclForISA(ObjCLanguageRuntime::ObjCISA isa); 37 bool FinishDecl(clang::ObjCInterfaceDecl *decl); 45 clang::ObjCInterfaceDecl *>
|
| /llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | ClangASTSource.cpp | 324 if (ObjCInterfaceDecl *original_iface_decl = in CompleteType() 326 ObjCInterfaceDecl *complete_iface_decl = in CompleteType() 437 if (ObjCInterfaceDecl *original_iface_decl = in FindExternalLexicalDecls() 439 ObjCInterfaceDecl *complete_iface_decl = in FindExternalLexicalDecls() 937 const ObjCInterfaceDecl *interface_decl = in FindObjCMethodDecls() 938 dyn_cast<ObjCInterfaceDecl>(decl_ctx); in FindObjCMethodDecls() 1085 ObjCInterfaceDecl *found_interface_decl = in FindObjCMethodDecls() 1198 ObjCInterfaceDecl *runtime_interface_decl = in FindObjCMethodDecls() 1199 dyn_cast<ObjCInterfaceDecl>(decls[0]); in FindObjCMethodDecls() 1330 dyn_cast<ObjCInterfaceDecl>(decls[0])); in FindObjCPropertyAndIvarDecls() [all …]
|
| H A D | ClangASTImporter.cpp | 390 clang::ObjCInterfaceDecl *class_interface_decl = in CanImport() 464 clang::ObjCInterfaceDecl *class_interface_decl = in Import() 593 clang::ObjCInterfaceDecl *interface_decl) { in CompleteObjCInterfaceDecl() 653 if (ObjCInterfaceDecl *objc_interface_decl = in CompleteAndFetchChildren() 663 ObjCInterfaceDecl *origin_interface_decl = in CompleteAndFetchChildren() 697 if (ObjCInterfaceDecl *objc_interface_decl = in RequireCompleteType() 945 if (ObjCInterfaceDecl *to_objc_interface = dyn_cast<ObjCInterfaceDecl>(to)) { in ImportDefinitionTo() 952 ObjCInterfaceDecl *from_objc_interface = in ImportDefinitionTo() 953 dyn_cast<ObjCInterfaceDecl>(from); in ImportDefinitionTo() 972 ObjCInterfaceDecl *imported_from_superclass = in ImportDefinitionTo() [all …]
|
| H A D | ClangASTSource.h | 154 void CompleteType(clang::ObjCInterfaceDecl *Class) override; 230 void CompleteType(clang::ObjCInterfaceDecl *Class) override { in CompleteType() 267 clang::ObjCInterfaceDecl * 268 GetCompleteObjCInterface(const clang::ObjCInterfaceDecl *interface_decl); 358 clang::ObjCInterfaceDecl *original_interface_decl, const char *log_info);
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDeclObjC.cpp | 447 if (ObjCInterfaceDecl *OID = dyn_cast<ObjCInterfaceDecl>(ContDeclOfMethodDecl)) in ActOnStartOfObjCMethodDef() 511 ObjCInterfaceDecl *ID = candidate.getCorrectionDeclAs<ObjCInterfaceDecl>(); in ValidateCandidate() 995 ObjCInterfaceDecl* PrevIDecl = dyn_cast_or_null<ObjCInterfaceDecl>(PrevDecl); in ActOnStartClassInterface() 1054 ObjCInterfaceDecl *IDecl in ActOnStartClassInterface() 1167 ObjCInterfaceDecl *CDecl = dyn_cast_or_null<ObjCInterfaceDecl>(CDeclU); in ActOnCompatibilityAlias() 2898 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in MatchAllMethodDeclarations() 2999 if (const ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in ImplMethodsVsClassMethods() 3033 if (ObjCInterfaceDecl *I = dyn_cast<ObjCInterfaceDecl> (CDecl)) { in ImplMethodsVsClassMethods() 3843 ObjCInterfaceDecl::ivar_iterator(), ObjCInterfaceDecl::ivar_iterator()); in DiagnoseVariableSizedIvars() 4965 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(ClassDecl); in ActOnMethodDeclaration() [all …]
|
| H A D | SemaObjCProperty.cpp | 229 if (ObjCInterfaceDecl *IFace = dyn_cast<ObjCInterfaceDecl>(ClassDecl)) { in ActOnProperty() 1098 ObjCInterfaceDecl *IDecl = nullptr; in ActOnPropertyImplDecl() 1210 ObjCInterfaceDecl *ClassDeclared; in ActOnPropertyImplDecl() 1760 if (ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl)) { in CollectImmediateProperties() 1825 ObjCInterfaceDecl::PropertyDeclOrder PO; in CollectSuperClassPropertyImplementations() 1891 ObjCInterfaceDecl::PropertyMap PropMap; in DefaultSynthesizeProperties() 1896 ObjCInterfaceDecl::PropertyMap SuperPropMap; in DefaultSynthesizeProperties() 2026 if (ObjCInterfaceDecl *ID = dyn_cast<ObjCInterfaceDecl>(CDecl)) in DiagnoseUnimplementedAccessor() 2036 ObjCInterfaceDecl *IDecl = dyn_cast<ObjCInterfaceDecl>(CDecl); in DiagnoseUnimplementedProperties() 2108 ObjCInterfaceDecl *PrimaryClass = nullptr; in DiagnoseUnimplementedProperties() [all …]
|
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DirectIvarAssignment.cpp | 62 const ObjCInterfaceDecl *InterfD; 69 const ObjCInterfaceDecl *InID, BugReporter &InBR, in MethodCrawler() 95 const ObjCInterfaceDecl *InterD, in findPropertyBackingIvar() 102 ObjCInterfaceDecl *NonConstInterD = const_cast<ObjCInterfaceDecl*>(InterD); in findPropertyBackingIvar() 119 const ObjCInterfaceDecl *InterD = D->getClassInterface(); in checkASTDecl()
|
| H A D | IvarInvalidationChecker.cpp | 193 const ObjCInterfaceDecl *InterfaceD, 205 const ObjCInterfaceDecl *InterfaceD, 254 if (const ObjCInterfaceDecl *InterfD = dyn_cast<ObjCInterfaceDecl>(D)) { in containsInvalidationMethod() 285 const ObjCInterfaceDecl *IvInterf = IvTy->getInterfaceDecl(); in trackIvar() 301 const ObjCInterfaceDecl *InterfaceD, in findPropertyBackingIvar() 366 const ObjCInterfaceDecl *InterfaceD = ImplD->getClassInterface(); in visit() 369 ObjCInterfaceDecl *IDecl = const_cast<ObjCInterfaceDecl *>(InterfaceD); in visit() 381 ObjCInterfaceDecl::PropertyMap PropMap; in visit() 382 ObjCInterfaceDecl::PropertyDeclOrder PropOrder; in visit() 385 for (ObjCInterfaceDecl::PropertyMap::iterator in visit() [all …]
|
| /llvm-project-15.0.7/clang/test/AST/ |
| H A D | property-atomic-bool.m | 14 // CHECK: ObjCInterfaceDecl {{.*}} A0 19 // CHECK: ObjCInterfaceDecl {{.*}} A1 24 // CHECK: ObjCInterfaceDecl {{.*}} A2 30 // CHECK: ObjCInterfaceDecl {{.*}} A3
|
| H A D | attr-swift_private.m | 7 // CHECK: ObjCInterfaceDecl {{.*}} I 15 // CHECK: ObjCInterfaceDecl {{.*}} J
|
| /llvm-project-15.0.7/clang/tools/libclang/ |
| H A D | CXCursor.h | 35 class ObjCInterfaceDecl; variable 61 CXCursor MakeCursorObjCSuperClassRef(ObjCInterfaceDecl *Super, 66 std::pair<const ObjCInterfaceDecl *, SourceLocation> 79 CXCursor MakeCursorObjCClassRef(const ObjCInterfaceDecl *Class, 84 std::pair<const ObjCInterfaceDecl *, SourceLocation>
|
| /llvm-project-15.0.7/clang/test/Misc/ |
| H A D | pragma-attribute-objc.m | 8 // CHECK-LABEL: ObjCInterfaceDecl{{.*}}testInterface1 89 // CHECK-LABEL: ObjCInterfaceDecl{{.*}}testImplWithoutInterface 141 // CHECK-LABEL: ObjCInterfaceDecl{{.*}}testClass 153 // CHECK-LABEL: ObjCInterfaceDecl{{.*}}testInterface3 161 // CHECK-LABEL: ObjCInterfaceDecl{{.*}}testInterface4
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/objc/ |
| H A D | MissingHashCheck.cpp | 22 ast_matchers::internal::Matcher<ObjCInterfaceDecl>, Base) { in AST_MATCHER_P() argument 23 const ObjCInterfaceDecl *InterfaceDecl = Node.getClassInterface(); in AST_MATCHER_P()
|