Home | History | Annotate | Download | only in Sema

Lines Matching defs:ClassName

457                          IdentifierInfo *ClassName, SourceLocation ClassLoc,
462 assert(ClassName && "Missing class identifier");
465 NamedDecl *PrevDecl = LookupSingleName(TUScope, ClassName, ClassLoc,
469 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
476 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
489 ClassName = PrevIDecl->getIdentifier();
493 = ObjCInterfaceDecl::Create(Context, CurContext, AtInterfaceLoc, ClassName,
528 << SuperName << ClassName);
535 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
577 << SuperName << ClassName << SourceRange(AtInterfaceLoc, ClassLoc);
582 ClassName,
633 IdentifierInfo *ClassName,
644 NamedDecl *CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
651 ClassName = IDecl->getIdentifier();
652 CDeclU = LookupSingleName(TUScope, ClassName, ClassLocation,
659 Diag(ClassLocation, diag::warn_undef_interface) << ClassName;
889 IdentifierInfo *ClassName, SourceLocation ClassLoc,
897 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
914 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
919 Diag(ClassLoc, diag::err_class_extension_after_impl) << ClassName;
930 << ClassName << CategoryName;
958 IdentifierInfo *ClassName, SourceLocation ClassLoc,
960 ObjCInterfaceDecl *IDecl = getObjCInterfaceDecl(ClassName, ClassLoc, true);
979 Diag(ClassLoc, diag::err_undef_interface) << ClassName;
996 Diag(ClassLoc, diag::err_dup_implementation_category) << ClassName
1017 IdentifierInfo *ClassName, SourceLocation ClassLoc,
1023 = LookupSingleName(TUScope, ClassName, ClassLoc, LookupOrdinaryName,
1026 Diag(ClassLoc, diag::err_redefinition_different_kind) << ClassName;
1032 // We did not find anything with the name ClassName; try to correct for
1036 CorrectTypo(DeclarationNameInfo(ClassName, ClassLoc),
1044 PDiag(diag::warn_undef_interface_suggest) << ClassName,
1047 Diag(ClassLoc, diag::warn_undef_interface) << ClassName;
1067 << SuperClassname << ClassName;
1085 ClassName, /*PrevDecl=*/nullptr, ClassLoc,
1115 Diag(ClassLoc, diag::err_dup_implementation_class) << ClassName;
2058 IdentifierInfo *ClassName = IdentList[i];
2059 if (PrevIDecl && PrevIDecl->getIdentifier() != ClassName) {
2072 ClassName = PrevIDecl->getIdentifier();
2077 ClassName, PrevIDecl, IdentLocs[i]);
3282 /// Called whenever \@defs(ClassName) is encountered in the source. Inserts the
3283 /// instance variables of ClassName into Decls.
3285 IdentifierInfo *ClassName,
3287 // Check that ClassName is a valid class
3288 ObjCInterfaceDecl *Class = getObjCInterfaceDecl(ClassName, DeclStart);
3290 Diag(DeclStart, diag::err_undef_interface) << ClassName;