Home
last modified time | relevance | path

Searched refs:getIdentifierLoc (Results 1 – 25 of 25) 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/llvm-project/clang/lib/Sema/
DSemaDecl.cpp5503 TSI = S.RebuildTypeInCurrentInstantiation(TSI, D.getIdentifierLoc(), Name); in RebuildDeclaratorInCurrentInstantiation()
5719 Diag(D.getIdentifierLoc(), in HandleDeclarator()
5733 Diag(D.getIdentifierLoc(), in HandleDeclarator()
5740 D.getCXXScopeSpec(), DC, Name, D.getIdentifierLoc(), in HandleDeclarator()
5762 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in HandleDeclarator()
5835 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), in HandleDeclarator()
5865 Diag(D.getIdentifierLoc(), diag::err_template_typedef); in HandleDeclarator()
6095 Diag(D.getIdentifierLoc(), diag::err_qualified_typedef_declarator) in ActOnTypedefDeclarator()
6727 Se.Diag(D.getIdentifierLoc(), in diagnoseOpenCLTypes()
6741 Se.Diag(D.getIdentifierLoc(), in diagnoseOpenCLTypes()
[all …]
DSemaTemplate.cpp1511 Diag(D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
1520 QualType T = CheckNonTypeTemplateParameterType(TInfo, D.getIdentifierLoc()); in ActOnNonTypeTemplateParameter()
1532 D.getIdentifierLoc(), Depth, Position, ParamName, T, IsParameterPack, in ActOnNonTypeTemplateParameter()
1549 maybeDiagnoseTemplateParameterShadow(*this, S, D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
4269 SourceLocation TemplateNameLoc = D.getIdentifierLoc(); in ActOnVarTemplateSpecialization()
4285 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method) in ActOnVarTemplateSpecialization()
4287 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template) in ActOnVarTemplateSpecialization()
9969 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef) in ActOnExplicitInstantiation()
9975 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class) in ActOnExplicitInstantiation()
10034 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known) in ActOnExplicitInstantiation()
[all …]
DSemaDeclCXX.cpp814 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in ActOnDecompositionDeclarator()
855 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), in ActOnDecompositionDeclarator()
3354 Diag(D.getIdentifierLoc(), diag::err_template_member) in ActOnCXXMemberDeclarator()
3377 diagnoseQualifiedDeclaration(SS, DC, Name, D.getIdentifierLoc(), in ActOnCXXMemberDeclarator()
3381 Diag(D.getIdentifierLoc(), diag::err_member_qualification) in ActOnCXXMemberDeclarator()
10184 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
10186 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
10191 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
10193 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
10335 Diag(D.getIdentifierLoc(), diag::ext_destructor_typedef_name) in CheckDestructorDeclarator()
[all …]
DSemaType.cpp1292 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType()
3146 D.getIdentifierLoc()); in diagnoseRedundantReturnTypeQualifiers()
3163 D.getIdentifierLoc(), in diagnoseRedundantReturnTypeQualifiers()
3192 /*NameLoc=*/D.getIdentifierLoc(), in InventTemplateParameter()
3622 FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr); in warnAboutAmbiguousFunction()
4764 T = S.BuildBlockPointerType(T, D.getIdentifierLoc(), Name); in GetFullTypeForDeclarator()
4777 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
4800 S.Diag(D.getIdentifierLoc(), diag::err_opencl_pointer_to_type) << T; in GetFullTypeForDeclarator()
4813 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
4827 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
[all …]
DSemaObjCProperty.cpp614 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
623 FD.D.getIdentifierLoc(), in CreatePropertyDecl()
DSemaDeclObjC.cpp5194 D.getIdentifierLoc(), in ActOnObjCExceptionDecl()
5200 Diag(D.getIdentifierLoc(), diag::err_qualified_objc_catch_parm) in ActOnObjCExceptionDecl()
DSemaOpenMP.cpp5903 LookupResult Lookup(*this, DeclarationName(BaseII), D.getIdentifierLoc(), in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/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/llvm-project/clang/lib/Parse/
DParser.cpp1184 D.getIdentifierLoc(), in ParseFunctionDefinition()
1465 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param) in ParseKNRParamDeclarations()
1473 Diag(ParmDeclarator.getIdentifierLoc(), in ParseKNRParamDeclarations()
DParseTemplate.cpp307 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseSingleDeclarationAfterTemplate()
1025 DiagnoseMisplacedEllipsis(EllipsisLoc, D.getIdentifierLoc(), in DiagnoseMisplacedEllipsisInDeclarator()
DParseDecl.cpp2254 Diag(D.getIdentifierLoc(), in ParseDeclarationAfterDeclaratorAndAttributes()
6909 ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
6930 Diag(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
6932 << FixItHint::CreateInsertion(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
DParseDeclCXX.cpp2756 Diag(DeclaratorInfo.getIdentifierLoc(), diag::err_func_def_no_params); in ParseCXXClassMemberDeclaration()
2767 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseCXXClassMemberDeclaration()
DParseObjc.cpp1492 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
/external/clang/include/clang/Sema/
DDeclSpec.h1978 SourceLocation getIdentifierLoc() const { return Name.StartLocation; } in getIdentifierLoc() function
/external/llvm-project/clang/include/clang/Sema/
DDeclSpec.h2191 SourceLocation getIdentifierLoc() const { return Name.StartLocation; } in getIdentifierLoc() function