Home | History | Annotate | Download | only in Sema

Lines Matching defs:ClassName

443                          IdentifierInfo *ClassName, SourceLocation ClassLoc,
448 assert(ClassName && "Missing class identifier");
451 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
455 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
462 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName,
498 << SuperName << ClassName << PrevDecl->getDeclName();
506 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
542 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
547 ClassName,
576 IdentifierInfo *ClassName,
590 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
597 ClassName = IDecl->getIdentifier();
598 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
605 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
817 IdentifierInfo *ClassName, SourceLocation ClassLoc,
825 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
842 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
847 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
858 << ClassName << CategoryName;
886 IdentifierInfo *ClassName, SourceLocation ClassLoc,
888 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
907 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
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;
959 // We did not find anything with the name ClassName; try to correct for
963 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope,
973 << ClassName << CorrectedName;
978 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
998 << SuperClassname << ClassName;
1016 ClassName, /*PrevDecl=*/0, ClassLoc,
1046 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
3090 /// Called whenever \@defs(ClassName) is encountered in the source. Inserts the
3091 /// instance variables of ClassName into Decls.
3093 IdentifierInfo *ClassName,
3095 // Check that ClassName is a valid class
3096 ObjCInterfaceDecl *Class = getObjCInterfaceDecl(ClassName, DeclStart);
3098 Diag(DeclStart, diag::err_undef_interface) << ClassName;