Lines Matching refs:ClassLoc
443 IdentifierInfo *ClassName, SourceLocation ClassLoc,
451 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
455 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
463 PrevIDecl, ClassLoc);
506 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
507 IDecl->setEndOfDefinitionLoc(ClassLoc);
542 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
548 SourceRange(AtInterfaceLoc, ClassLoc))) {
557 IDecl->setEndOfDefinitionLoc(ClassLoc);
817 IdentifierInfo *ClassName, SourceLocation ClassLoc,
825 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
830 || RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl),
837 ClassLoc, CategoryLoc, CategoryName,IDecl);
842 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
847 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
864 ClassLoc, CategoryLoc, CategoryName, IDecl);
886 IdentifierInfo *ClassName, SourceLocation ClassLoc,
888 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
896 ClassLoc, CatLoc,
904 ClassLoc, AtCatImplLoc, CatLoc);
907 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
909 } else if (RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl),
919 DiagnoseUseOfDecl(IDecl, ClassLoc);
924 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
944 IdentifierInfo *ClassName, SourceLocation ClassLoc,
950 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName,
953 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
956 RequireCompleteType(ClassLoc, Context.getObjCInterfaceType(IDecl),
963 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope,
972 Diag(ClassLoc, diag::warn_undef_interface_suggest)
975 << FixItHint::CreateReplacement(ClassLoc, CorrectedName.getAsString());
978 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
1016 ClassName, /*PrevDecl=*/0, ClassLoc,
1024 IDecl->setEndOfDefinitionLoc(ClassLoc);
1038 ClassLoc, AtClassImplLoc);
1046 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;