Home | History | Annotate | Download | only in Sema

Lines Matching defs:ClassName

376                          IdentifierInfo *ClassName, SourceLocation ClassLoc,
381 assert(ClassName && "Missing class identifier");
384 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
388 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
395 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName,
431 << SuperName << ClassName << PrevDecl->getDeclName();
439 << SuperName << ClassName
475 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
480 << ClassName
509 IdentifierInfo *ClassName,
523 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
530 ClassName = IDecl->getIdentifier();
531 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
538 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
748 IdentifierInfo *ClassName, SourceLocation ClassLoc,
756 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
773 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
778 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
791 << ClassName << CategoryName;
821 IdentifierInfo *ClassName, SourceLocation ClassLoc,
823 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
842 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
859 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
879 IdentifierInfo *ClassName, SourceLocation ClassLoc,
885 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName,
888 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
894 // We did not find anything with the name ClassName; try to correct for
898 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope,
908 << ClassName << CorrectedName;
913 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
933 << SuperClassname << ClassName;
951 ClassName, /*PrevDecl=*/0, ClassLoc,
981 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
2951 /// Called whenever @defs(ClassName) is encountered in the source. Inserts the
2952 /// instance variables of ClassName into Decls.
2954 IdentifierInfo *ClassName,
2956 // Check that ClassName is a valid class
2957 ObjCInterfaceDecl *Class = getObjCInterfaceDecl(ClassName, DeclStart);
2959 Diag(DeclStart, diag::err_undef_interface) << ClassName;