Lines Matching refs:getIdentifierLoc

2153         Diag(D.getIdentifierLoc(), diag::err_template_member)  in ActOnCXXMemberDeclarator()
2176 diagnoseQualifiedDeclaration(SS, DC, Name, D.getIdentifierLoc()); in ActOnCXXMemberDeclarator()
2178 Diag(D.getIdentifierLoc(), diag::err_member_qualification) in ActOnCXXMemberDeclarator()
6817 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
6819 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
6824 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
6826 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
6843 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_constructor) in CheckConstructorDeclarator()
6844 << "const" << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
6846 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_constructor) in CheckConstructorDeclarator()
6847 << "volatile" << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
6849 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_constructor) in CheckConstructorDeclarator()
6850 << "restrict" << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
6962 Diag(D.getIdentifierLoc(), diag::err_destructor_typedef_name) in CheckDestructorDeclarator()
6967 Diag(D.getIdentifierLoc(), diag::err_destructor_typedef_name) in CheckDestructorDeclarator()
6980 Diag(D.getIdentifierLoc(), diag::err_destructor_cannot_be) in CheckDestructorDeclarator()
6982 << SourceRange(D.getIdentifierLoc()) in CheckDestructorDeclarator()
6997 Diag(D.getIdentifierLoc(), diag::err_destructor_return_type) in CheckDestructorDeclarator()
6999 << SourceRange(D.getIdentifierLoc()); in CheckDestructorDeclarator()
7014 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_destructor) in CheckDestructorDeclarator()
7015 << "const" << SourceRange(D.getIdentifierLoc()); in CheckDestructorDeclarator()
7017 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_destructor) in CheckDestructorDeclarator()
7018 << "volatile" << SourceRange(D.getIdentifierLoc()); in CheckDestructorDeclarator()
7020 Diag(D.getIdentifierLoc(), diag::err_invalid_qualified_destructor) in CheckDestructorDeclarator()
7021 << "restrict" << SourceRange(D.getIdentifierLoc()); in CheckDestructorDeclarator()
7036 Diag(D.getIdentifierLoc(), diag::err_destructor_with_params); in CheckDestructorDeclarator()
7045 Diag(D.getIdentifierLoc(), diag::err_destructor_variadic); in CheckDestructorDeclarator()
7094 Diag(D.getIdentifierLoc(), diag::err_conv_function_not_member) in CheckConversionDeclarator()
7114 Diag(D.getIdentifierLoc(), diag::err_conv_function_return_type) in CheckConversionDeclarator()
7116 << SourceRange(D.getIdentifierLoc()); in CheckConversionDeclarator()
7124 Diag(D.getIdentifierLoc(), diag::err_conv_function_with_params); in CheckConversionDeclarator()
7130 Diag(D.getIdentifierLoc(), diag::err_conv_function_variadic); in CheckConversionDeclarator()
7177 D.getIdentifierLoc(); in CheckConversionDeclarator()
7214 Diag(D.getIdentifierLoc(), diag::err_conv_function_to_array); in CheckConversionDeclarator()
7218 Diag(D.getIdentifierLoc(), diag::err_conv_function_to_function); in CheckConversionDeclarator()
12317 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in ActOnExceptionDeclarator()
12320 D.getIdentifierLoc()); in ActOnExceptionDeclarator()
12325 if (NamedDecl *PrevDecl = LookupSingleName(S, II, D.getIdentifierLoc(), in ActOnExceptionDeclarator()
12333 Diag(D.getIdentifierLoc(), diag::err_redefinition) in ActOnExceptionDeclarator()
12339 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl); in ActOnExceptionDeclarator()
12343 Diag(D.getIdentifierLoc(), diag::err_qualified_catch_declarator) in ActOnExceptionDeclarator()
12350 D.getIdentifierLoc(), in ActOnExceptionDeclarator()
12703 SourceLocation Loc = D.getIdentifierLoc(); in ActOnFriendFunctionDecl()
12981 D.getIdentifierLoc(), ND, in ActOnFriendFunctionDecl()
13960 SourceLocation Loc = D.getIdentifierLoc(); in HandleMSProperty()
13967 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in HandleMSProperty()
14007 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl); in HandleMSProperty()