Home | History | Annotate | Download | only in Sema

Lines Matching defs:ClassName

446                          IdentifierInfo *ClassName, SourceLocation ClassLoc,
451 assert(ClassName && "Missing class identifier");
454 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
458 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
465 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
478 ClassName = PrevIDecl->getIdentifier();
482 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName,
518 << SuperName << ClassName << PrevDecl->getDeclName();
526 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
568 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
573 ClassName,
602 IdentifierInfo *ClassName,
613 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
620 ClassName = IDecl->getIdentifier();
621 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
628 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
843 ClassName, SourceLocation ClassLoc,
851 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
868 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
873 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
884 << ClassName << CategoryName;
912 IdentifierInfo *ClassName, SourceLocation ClassLoc,
914 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
933 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
950 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
971 IdentifierInfo *ClassName, SourceLocation ClassLoc,
977 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName,
980 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
986 // We did not find anything with the name ClassName; try to correct for
990 DeclarationNameInfo(ClassName, ClassLoc), LookupOrdinaryName, TUScope,
1000 << ClassName << CorrectedName;
1005 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
1025 << SuperClassname << ClassName;
1043 ClassName, /*PrevDecl=*/0, ClassLoc,
1073 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
1964 IdentifierInfo *ClassName = IdentList[i];
1965 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
1978 ClassName = PrevIDecl->getIdentifier();
1983 ClassName, PrevIDecl, IdentLocs[i]);
3307 /// Called whenever \@defs(ClassName) is encountered in the source. Inserts the
3308 /// instance variables of ClassName into Decls.
3310 IdentifierInfo *ClassName,
3312 // Check that ClassName is a valid class
3313 ObjCInterfaceDecl *Class = getObjCInterfaceDecl(ClassName, DeclStart);
3315 Diag(DeclStart, diag::err_undef_interface) << ClassName;