Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp5970 TSI = S.RebuildTypeInCurrentInstantiation(TSI, D.getIdentifierLoc(), Name); in RebuildDeclaratorInCurrentInstantiation()
6235 Diag(D.getIdentifierLoc(), in HandleDeclarator()
6249 Diag(D.getIdentifierLoc(), in HandleDeclarator()
6260 D.getIdentifierLoc(), TemplateId, in HandleDeclarator()
6282 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in HandleDeclarator()
6361 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), TPD, in HandleDeclarator()
6395 Diag(D.getIdentifierLoc(), diag::err_template_typedef); in HandleDeclarator()
6618 Diag(D.getIdentifierLoc(), diag::err_qualified_typedef_declarator) in ActOnTypedefDeclarator()
7375 Diag(D.getIdentifierLoc(), diag::err_bad_variable_name) << Name; in ActOnVariableDeclarator()
7391 DiagPlaceholderVariableDefinition(D.getIdentifierLoc()); in ActOnVariableDeclarator()
[all …]
H A DSemaTemplate.cpp1507 Diag(D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
1515 QualType T = CheckNonTypeTemplateParameterType(TInfo, D.getIdentifierLoc()); in ActOnNonTypeTemplateParameter()
1527 D.getIdentifierLoc(), Depth, Position, ParamName, T, IsParameterPack, in ActOnNonTypeTemplateParameter()
1544 maybeDiagnoseTemplateParameterShadow(*this, S, D.getIdentifierLoc(), in ActOnNonTypeTemplateParameter()
3957 SourceLocation TemplateNameLoc = D.getIdentifierLoc(); in ActOnVarTemplateSpecialization()
3973 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method) in ActOnVarTemplateSpecialization()
3975 return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template) in ActOnVarTemplateSpecialization()
9841 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef) in ActOnExplicitInstantiation()
9847 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class) in ActOnExplicitInstantiation()
9907 Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known) in ActOnExplicitInstantiation()
[all …]
H A DSemaDeclCXX.cpp831 if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo, in ActOnDecompositionDeclarator()
889 DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), in ActOnDecompositionDeclarator()
3464 Diag(D.getIdentifierLoc(), diag::err_member_with_template_arguments) in ActOnCXXMemberDeclarator()
3484 diagnoseQualifiedDeclaration(SS, DC, Name, D.getIdentifierLoc(), in ActOnCXXMemberDeclarator()
3488 Diag(D.getIdentifierLoc(), diag::err_member_qualification) in ActOnCXXMemberDeclarator()
10759 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
10761 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
10766 Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be) in CheckConstructorDeclarator()
10768 << SourceRange(D.getIdentifierLoc()); in CheckConstructorDeclarator()
10898 Diag(D.getIdentifierLoc(), dia in CheckDestructorDeclarator()
[all...]
H A DSemaType.cpp891 SourceLocation DeclLoc = declarator.getIdentifierLoc(); in ConvertDeclSpecToType()
2939 D.getIdentifierLoc()); in diagnoseRedundantReturnTypeQualifiers()
2956 D.getIdentifierLoc(), in diagnoseRedundantReturnTypeQualifiers()
2985 /*NameLoc=*/D.getIdentifierLoc(), in InventTemplateParameter()
3463 FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr); in warnAboutAmbiguousFunction()
4614 T = S.BuildBlockPointerType(T, D.getIdentifierLoc(), Name); in GetFullTypeForDeclarator()
4627 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
4650 S.Diag(D.getIdentifierLoc(), diag::err_opencl_pointer_to_type) << T; in GetFullTypeForDeclarator()
4663 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
4677 S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec); in GetFullTypeForDeclarator()
[all …]
H A DSemaObjCProperty.cpp592 Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object) in CreatePropertyDecl()
601 FD.D.getIdentifierLoc(), in CreatePropertyDecl()
H A DSemaDeclObjC.cpp5235 D.getIdentifierLoc(), in ActOnObjCExceptionDecl()
5241 Diag(D.getIdentifierLoc(), diag::err_qualified_objc_catch_parm) in ActOnObjCExceptionDecl()
5579 Loc = D.getIdentifierLoc(); in ActOnIvar()
H A DSemaOpenMP.cpp7087 LookupResult Lookup(SemaRef, DeclarationName(BaseII), D.getIdentifierLoc(), in ActOnStartOfFunctionDefinitionInOpenMPDeclareVariantScope()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp1305 Diag(D.getIdentifierLoc(), diag::warn_missing_type_specifier) in ParseFunctionDefinition()
1311 D.getIdentifierLoc(), in ParseFunctionDefinition()
1618 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param) in ParseKNRParamDeclarations()
1626 Diag(ParmDeclarator.getIdentifierLoc(), in ParseKNRParamDeclarations()
H A DParseDecl.cpp2407 Diag(D.getIdentifierLoc(), in ParseDeclGroup()
2748 Diag(D.getIdentifierLoc(), in ParseDeclarationAfterDeclaratorAndAttributes()
8052 ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
8073 Diag(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
8075 << FixItHint::CreateInsertion(ParmDeclarator.getIdentifierLoc(), in ParseParameterDeclarationClause()
H A DParseTemplate.cpp984 DiagnoseMisplacedEllipsis(EllipsisLoc, D.getIdentifierLoc(), in DiagnoseMisplacedEllipsisInDeclarator()
H A DParseDeclCXX.cpp3151 Diag(DeclaratorInfo.getIdentifierLoc(), diag::err_func_def_no_params); in ParseCXXClassMemberDeclaration()
3162 Diag(DeclaratorInfo.getIdentifierLoc(), in ParseCXXClassMemberDeclaration()
H A DParseObjc.cpp1552 ParmDecl.getIdentifierLoc(), in ParseObjCMethodDecl()
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DDeclSpec.h2336 SourceLocation getIdentifierLoc() const { return Name.StartLocation; } in getIdentifierLoc() function