Lines Matching refs:ClassLoc
453 IdentifierInfo *ClassName, SourceLocation ClassLoc, in ActOnStartClassInterface() argument
461 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc, in ActOnStartClassInterface()
465 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName; in ActOnStartClassInterface()
490 PrevIDecl, ClassLoc); in ActOnStartClassInterface()
532 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc); in ActOnStartClassInterface()
533 IDecl->setEndOfDefinitionLoc(ClassLoc); in ActOnStartClassInterface()
574 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc); in ActOnStartClassInterface()
580 SourceRange(AtInterfaceLoc, ClassLoc))) { in ActOnStartClassInterface()
589 IDecl->setEndOfDefinitionLoc(ClassLoc); in ActOnStartClassInterface()
885 IdentifierInfo *ClassName, SourceLocation ClassLoc, in ActOnStartCategoryInterface() argument
893 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); in ActOnStartCategoryInterface()
898 || RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryInterface()
905 ClassLoc, CategoryLoc, CategoryName,IDecl); in ActOnStartCategoryInterface()
910 Diag(ClassLoc, diag::err_undef_interface) << ClassName; in ActOnStartCategoryInterface()
915 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName; in ActOnStartCategoryInterface()
932 ClassLoc, CategoryLoc, CategoryName, IDecl); in ActOnStartCategoryInterface()
954 IdentifierInfo *ClassName, SourceLocation ClassLoc, in ActOnStartCategoryImplementation() argument
956 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true); in ActOnStartCategoryImplementation()
964 ClassLoc, CatLoc, in ActOnStartCategoryImplementation()
972 ClassLoc, AtCatImplLoc, CatLoc); in ActOnStartCategoryImplementation()
975 Diag(ClassLoc, diag::err_undef_interface) << ClassName; in ActOnStartCategoryImplementation()
977 } else if (RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartCategoryImplementation()
987 DiagnoseUseOfDecl(IDecl, ClassLoc); in ActOnStartCategoryImplementation()
992 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName in ActOnStartCategoryImplementation()
1013 IdentifierInfo *ClassName, SourceLocation ClassLoc, in ActOnStartClassImplementation() argument
1019 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName, in ActOnStartClassImplementation()
1022 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName; in ActOnStartClassImplementation()
1025 RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl), in ActOnStartClassImplementation()
1031 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope, in ActOnStartClassImplementation()
1041 Diag(ClassLoc, diag::warn_undef_interface) << ClassName; in ActOnStartClassImplementation()
1079 ClassName, /*PrevDecl=*/nullptr, ClassLoc, in ActOnStartClassImplementation()
1087 IDecl->setEndOfDefinitionLoc(ClassLoc); in ActOnStartClassImplementation()
1101 ClassLoc, AtClassImplLoc, SuperClassLoc); in ActOnStartClassImplementation()
1109 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName; in ActOnStartClassImplementation()