Lines Matching defs:ClassName
469 IdentifierInfo *ClassName,
488 << SuperName << ClassName);
495 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
542 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
547 ClassName,
902 IdentifierInfo *ClassName, SourceLocation ClassLoc,
910 assert(ClassName && "Missing class identifier");
913 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
917 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
924 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
937 ClassName = PrevIDecl->getIdentifier();
953 << ClassName;
955 << ClassName;
982 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName,
1008 ClassName, ClassLoc,
1054 IdentifierInfo *ClassName,
1065 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
1072 ClassName = IDecl->getIdentifier();
1073 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
1080 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
1705 IdentifierInfo *ClassName, SourceLocation ClassLoc,
1714 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
1732 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
1737 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
1748 << ClassName << CategoryName;
1765 << ClassName
1798 IdentifierInfo *ClassName, SourceLocation ClassLoc,
1800 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
1820 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
1837 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
1858 IdentifierInfo *ClassName, SourceLocation ClassLoc,
1864 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName,
1867 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
1875 // We did not find anything with the name ClassName; try to correct for
1878 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope,
1885 PDiag(diag::warn_undef_interface_suggest) << ClassName,
1888 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
1908 << SuperClassname << ClassName;
1926 ClassName, /*typeParamList=*/nullptr,
1958 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
2960 IdentifierInfo *ClassName = IdentList[i];
2961 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
2974 ClassName = PrevIDecl->getIdentifier();
2991 << ClassName
2994 << ClassName;
3002 ClassName, TypeParams, PrevIDecl,
4370 /// Called whenever \@defs(ClassName) is encountered in the source. Inserts the
4371 /// instance variables of ClassName into Decls.
4373 IdentifierInfo *ClassName,
4375 // Check that ClassName is a valid class
4376 ObjCInterfaceDecl *Class = getObjCInterfaceDecl(ClassName, DeclStart);
4378 Diag(DeclStart, diag::err_undef_interface) << ClassName;