Home
last modified time | relevance | path

Searched refs:getIdentifierLoc (Results 1 – 12 of 12) sorted by relevance

/external/clang/lib/Sema/
DSemaDecl.cpp4746 TSI = S.RebuildTypeInCurrentInstantiation(TSI, D.getIdentifierLoc(), Name); in RebuildDeclaratorInCurrentInstantiation()
4954 Diag(D.getIdentifierLoc(), in HandleDeclarator()
4968 Diag(D.getIdentifierLoc(), in HandleDeclarator()
4975 Name, D.getIdentifierLoc())) { in HandleDeclarator()
5003 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in HandleDeclarator()
5074 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), in HandleDeclarator()
5105 Diag(D.getIdentifierLoc(), in HandleDeclarator()
5116 Diag(D.getIdentifierLoc(), diag::err_template_typedef); in HandleDeclarator()
5313 Diag(D.getIdentifierLoc(), diag::err_qualified_typedef_declarator) in ActOnTypedefDeclarator()
5860 Diag(D.getIdentifierLoc(), in ActOnVariableDeclarator()
[all …]
DSemaTemplate.cpp688 T = CheckNonTypeTemplateParameterType(T, D.getIdentifierLoc()); in ActOnNonTypeTemplateParameter()
699 D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
708 maybeDiagnoseTemplateParameterShadow(*this, S, D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
2532 SourceLocation TemplateNameLoc = D.getIdentifierLoc(); in ActOnVarTemplateSpecialization()
2548 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method) in ActOnVarTemplateSpecialization()
2550 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template) in ActOnVarTemplateSpecialization()
7757 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef) in ActOnExplicitInstantiation()
7763 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class) in ActOnExplicitInstantiation()
7823 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known) in ActOnExplicitInstantiation()
7833 Diag(D.getIdentifierLoc(), in ActOnExplicitInstantiation()
[all …]
DSemaDeclCXX.cpp2153 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()
[all …]
DSemaType.cpp1251 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType()
2713 D.getIdentifierLoc()); in diagnoseRedundantReturnTypeQualifiers()
2750 D.getIdentifierLoc()); in diagnoseRedundantReturnTypeQualifiers()
2767 D.getIdentifierLoc(), in diagnoseRedundantReturnTypeQualifiers()
3068 FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr); in warnAboutAmbiguousFunction()
3827 T = S.BuildBlockPointerType(T, D.getIdentifierLoc(), Name); in GetFullTypeForDeclarator()
3840 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
3862 S.Diag(D.getIdentifierLoc(), diag::err_opencl_pointer_to_type) << T; in GetFullTypeForDeclarator()
3875 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
3889 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
[all …]
DSemaObjCProperty.cpp606 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
615 FD.D.getIdentifierLoc(), in CreatePropertyDecl()
DSemaDeclObjC.cpp4636 D.getIdentifierLoc(), in ActOnObjCExceptionDecl()
4642 Diag(D.getIdentifierLoc(), diag::err_qualified_objc_catch_parm) in ActOnObjCExceptionDecl()
/external/clang/lib/Parse/
DParseTemplate.cpp280 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseSingleDeclarationAfterTemplate()
734 DiagnoseMisplacedEllipsis(EllipsisLoc, D.getIdentifierLoc(), in DiagnoseMisplacedEllipsisInDeclarator()
DParser.cpp989 D.getIdentifierLoc(), in ParseFunctionDefinition()
1264 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param) in ParseKNRParamDeclarations()
1272 Diag(ParmDeclarator.getIdentifierLoc(), in ParseKNRParamDeclarations()
DParseDecl.cpp2005 Diag(D.getIdentifierLoc(), in ParseDeclarationAfterDeclaratorAndAttributes()
6003 ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
6024 Diag(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
6026 << FixItHint::CreateInsertion(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
DParseDeclCXX.cpp2511 Diag(DeclaratorInfo.getIdentifierLoc(), diag::err_func_def_no_params); in ParseCXXClassMemberDeclaration()
2522 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseCXXClassMemberDeclaration()
DParseObjc.cpp1513 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
/external/clang/include/clang/Sema/
DDeclSpec.h1978 SourceLocation getIdentifierLoc() const { return Name.StartLocation; } in getIdentifierLoc() function