Lines Matching refs:IdLoc
1688 SourceLocation IdLoc, in getObjCInterfaceDecl() argument
1692 NamedDecl *IDecl = LookupSingleName(TUScope, Id, IdLoc, LookupOrdinaryName); in getObjCInterfaceDecl()
1698 DeclarationNameInfo(Id, IdLoc), LookupOrdinaryName, TUScope, nullptr, in getObjCInterfaceDecl()
14307 SourceLocation IdLoc, in CheckEnumConstant() argument
14352 Diag(IdLoc, diag::ext_enumerator_too_large) << EltTy; in CheckEnumConstant()
14355 Diag(IdLoc, diag::err_enumerator_too_large) << EltTy; in CheckEnumConstant()
14376 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
14434 Diag(IdLoc, diag::err_enumerator_wrapped) in CheckEnumConstant()
14438 Diag(IdLoc, diag::ext_enumerator_increment_too_large) in CheckEnumConstant()
14458 Diag(IdLoc, diag::warn_enum_value_overflow); in CheckEnumConstant()
14462 Diag(IdLoc, diag::ext_enum_value_not_int) in CheckEnumConstant()
14475 return EnumConstantDecl::Create(Context, Enum, IdLoc, Id, EltTy, in CheckEnumConstant()
14506 SourceLocation IdLoc, IdentifierInfo *Id, in ActOnEnumConstant() argument
14519 NamedDecl *PrevDecl = LookupSingleName(S, Id, IdLoc, LookupOrdinaryName, in ActOnEnumConstant()
14523 DiagnoseTemplateParameterShadow(IdLoc, PrevDecl); in ActOnEnumConstant()
14535 DeclarationNameInfo(Id, IdLoc)); in ActOnEnumConstant()
14538 CheckEnumConstant(TheEnumDecl, LastEnumConst, IdLoc, Id, Val); in ActOnEnumConstant()
14550 Diag(IdLoc, diag::err_redefinition_of_enumerator) << Id; in ActOnEnumConstant()
14552 Diag(IdLoc, diag::err_redefinition) << Id; in ActOnEnumConstant()