reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Parse/ParseDecl.cpp
 2317         Diag(D.getIdentifierLoc(),
 6690                                           ParmDeclarator.getIdentifierLoc(),
 6711           Diag(ParmDeclarator.getIdentifierLoc(),
 6713             << FixItHint::CreateInsertion(ParmDeclarator.getIdentifierLoc(),
tools/clang/lib/Parse/ParseDeclCXX.cpp
 2720         Diag(DeclaratorInfo.getIdentifierLoc(), diag::err_func_def_no_params);
 2731         Diag(DeclaratorInfo.getIdentifierLoc(),
tools/clang/lib/Parse/ParseObjc.cpp
 1489                                                     ParmDecl.getIdentifierLoc(),
tools/clang/lib/Parse/ParseTemplate.cpp
  292         Diag(DeclaratorInfo.getIdentifierLoc(),
  848   DiagnoseMisplacedEllipsis(EllipsisLoc, D.getIdentifierLoc(),
tools/clang/lib/Parse/Parser.cpp
 1144                                            D.getIdentifierLoc(),
 1416             Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param)
 1424               Diag(ParmDeclarator.getIdentifierLoc(),
tools/clang/lib/Sema/SemaDecl.cpp
 5337     TSI = S.RebuildTypeInCurrentInstantiation(TSI, D.getIdentifierLoc(), Name);
 5553       Diag(D.getIdentifierLoc(),
 5567       Diag(D.getIdentifierLoc(),
 5574               D.getCXXScopeSpec(), DC, Name, D.getIdentifierLoc(),
 5596   if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo,
 5669       DiagnoseTemplateParameterShadow(D.getIdentifierLoc(),
 5699       Diag(D.getIdentifierLoc(), diag::err_template_typedef);
 5891     Diag(D.getIdentifierLoc(), diag::err_qualified_typedef_declarator)
 6496     Diag(D.getIdentifierLoc(), diag::err_bad_variable_name) << Name;
 6505       Diag(D.getIdentifierLoc(),
 6518         Diag(D.getIdentifierLoc(),
 6529         Diag(D.getIdentifierLoc(), diag::err_opencl_function_pointer);
 6540         Diag(D.getIdentifierLoc(), diag::err_opencl_half_declaration) << R;
 6551         Diag(D.getIdentifierLoc(), diag::err_wrong_sampler_addressspace);
 6560         Diag(D.getIdentifierLoc(), diag::err_opencl_nonconst_global_sampler);
 6607     Diag(D.getIdentifierLoc(), diag::err_mutable_nonmember);
 6631       Diag(D.getIdentifierLoc(), diag::err_typecheck_sclass_fscope);
 6644     NewVD = VarDecl::Create(Context, DC, D.getBeginLoc(), D.getIdentifierLoc(),
 6690           Diag(D.getIdentifierLoc(),
 6697           Diag(D.getIdentifierLoc(),
 6703           Diag(D.getIdentifierLoc(),
 6712         D.getDeclSpec().getBeginLoc(), D.getIdentifierLoc(),
 6746           Diag(D.getIdentifierLoc(),
 6772                                         D.getIdentifierLoc(), R, TInfo, SC,
 6776                               D.getIdentifierLoc(), II, R, TInfo, SC);
 6781           VarTemplateDecl::Create(Context, DC, D.getIdentifierLoc(), Name,
 7078       Diag(D.getIdentifierLoc(), diag::err_no_member)
 8012                               ExtraArgs.D.getIdentifierLoc());
 8067                               ExtraArgs.D.getIdentifierLoc());
 8191           D.getIdentifierLoc(), R->castAs<FunctionType>()->getReturnType(),
 8226       SemaRef.Diag(D.getIdentifierLoc(), diag::err_destructor_not_member);
 8232                                   D.getIdentifierLoc(), Name, R, TInfo, SC,
 8239       SemaRef.Diag(D.getIdentifierLoc(),
 8266       SemaRef.Diag(D.getIdentifierLoc(), diag::err_constructor_return_type)
 8268         << SourceRange(D.getIdentifierLoc());
 8584                            D.getIdentifierLoc());
 8652                 D.getDeclSpec().getBeginLoc(), D.getIdentifierLoc(),
 8716           Diag(D.getIdentifierLoc(), diag::err_template_spec_decl_friend)
 9011           BuildParmVarDeclForTypedef(NewFD, D.getIdentifierLoc(), AI);
 9151         Diag(D.getIdentifierLoc(), diag::err_function_template_partial_spec)
 9170       TemplateArgs.setLAngleLoc(D.getIdentifierLoc());
 9171       TemplateArgs.setRAngleLoc(D.getIdentifierLoc());
 9448       Diag(D.getIdentifierLoc(), diag::err_static_kernel);
 9455       Diag(D.getIdentifierLoc(), diag::err_expected_kernel_void_return_type)
 9467         Diag(D.getIdentifierLoc(), diag::err_method_kernel);
 9471         Diag(D.getIdentifierLoc(), diag::err_template_kernel);
12954     Diag(D.getIdentifierLoc(), diag::err_qualified_param_declarator)
12971     Diag(D.getIdentifierLoc(), diag::err_bad_parameter_name)
12978     Diag(D.getIdentifierLoc(), diag::err_bad_parameter_name_template_id);
13031     LookupResult R(*this, II, D.getIdentifierLoc(), LookupOrdinaryName,
13038         DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl);
13042         Diag(D.getIdentifierLoc(), diag::err_param_redefinition) << II;
13047         D.SetIdentifier(nullptr, D.getIdentifierLoc());
13058                      D.getIdentifierLoc(), II, parmDeclType, TInfo, SC);
14360                           D.getIdentifierLoc(), D.getIdentifier(), TInfo);
15885   if (II) Loc = D.getIdentifierLoc();
15892     if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo,
15934     DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl);
16260   if (II) Loc = D.getIdentifierLoc();
tools/clang/lib/Sema/SemaDeclCXX.cpp
  788   if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo,
  829       DiagnoseTemplateParameterShadow(D.getIdentifierLoc(),
 3300         Diag(D.getIdentifierLoc(), diag::err_template_member)
 3323         diagnoseQualifiedDeclaration(SS, DC, Name, D.getIdentifierLoc(),
 3327         Diag(D.getIdentifierLoc(), diag::err_member_qualification)
 8638       Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be)
 8640         << SourceRange(D.getIdentifierLoc());
 8645       Diag(D.getIdentifierLoc(), diag::err_constructor_cannot_be)
 8647         << SourceRange(D.getIdentifierLoc());
 8791     Diag(D.getIdentifierLoc(), diag::err_destructor_typedef_name)
 8796       Diag(D.getIdentifierLoc(), diag::err_destructor_typedef_name)
 8809       Diag(D.getIdentifierLoc(), diag::err_destructor_cannot_be)
 8811         << SourceRange(D.getIdentifierLoc())
 8826       Diag(D.getIdentifierLoc(), diag::err_destructor_return_type)
 8828         << SourceRange(D.getIdentifierLoc());
 8854     Diag(D.getIdentifierLoc(), diag::err_destructor_with_params);
 8863     Diag(D.getIdentifierLoc(), diag::err_destructor_variadic);
 8912       Diag(D.getIdentifierLoc(), diag::err_conv_function_not_member)
 8933     Diag(D.getIdentifierLoc(), diag::err_conv_function_return_type)
 8935       << SourceRange(D.getIdentifierLoc());
 8943     Diag(D.getIdentifierLoc(), diag::err_conv_function_with_complex_decl)
 8944         << SourceRange(D.getIdentifierLoc()) << 0;
 8952     Diag(D.getIdentifierLoc(), diag::err_conv_function_with_params);
 8958     Diag(D.getIdentifierLoc(), diag::err_conv_function_variadic);
 9005                                             D.getIdentifierLoc();
 9042     Diag(D.getIdentifierLoc(), diag::err_conv_function_to_array);
 9046     Diag(D.getIdentifierLoc(), diag::err_conv_function_to_function);
 9158     Diag(D.getIdentifierLoc(), diag::err_deduction_guide_wrong_scope)
 9169         *this, D.getIdentifierLoc(),
 9256     Diag(D.getIdentifierLoc(), diag::err_deduction_guide_defines_function);
14390   if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo,
14393                                              D.getIdentifierLoc());
14398   if (NamedDecl *PrevDecl = LookupSingleName(S, II, D.getIdentifierLoc(),
14406       Diag(D.getIdentifierLoc(), diag::err_redefinition)
14412       DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl);
14416     Diag(D.getIdentifierLoc(), diag::err_qualified_catch_declarator)
14422       S, TInfo, D.getBeginLoc(), D.getIdentifierLoc(), D.getIdentifier());
14825   SourceLocation Loc = D.getIdentifierLoc();
15091                                        D.getIdentifierLoc(), ND,
16155   SourceLocation Loc = D.getIdentifierLoc();
16162     if (DiagnoseUnexpandedParameterPack(D.getIdentifierLoc(), TInfo,
16203     DiagnoseTemplateParameterShadow(D.getIdentifierLoc(), PrevDecl);
tools/clang/lib/Sema/SemaDeclObjC.cpp
 4930                                         D.getIdentifierLoc(),
 4936     Diag(D.getIdentifierLoc(), diag::err_qualified_objc_catch_parm)
tools/clang/lib/Sema/SemaObjCProperty.cpp
  613     Diag(FD.D.getIdentifierLoc(), diag::err_statically_allocated_object)
  622                                                      FD.D.getIdentifierLoc(),
tools/clang/lib/Sema/SemaTemplate.cpp
 1175     Diag(D.getIdentifierLoc(),
 1184   QualType T = CheckNonTypeTemplateParameterType(TInfo, D.getIdentifierLoc());
 1196       D.getIdentifierLoc(), Depth, Position, ParamName, T, IsParameterPack,
 1208     maybeDiagnoseTemplateParameterShadow(*this, S, D.getIdentifierLoc(),
 3843   SourceLocation TemplateNameLoc = D.getIdentifierLoc();
 3859       return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template_but_method)
 3861     return Diag(D.getIdentifierLoc(), diag::err_var_spec_no_template)
 9394     Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef)
 9400     Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class)
 9459         Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known)
 9469         Diag(D.getIdentifierLoc(),
 9494         Diag(D.getIdentifierLoc(),
 9507                                           D.getIdentifierLoc(), TemplateArgs);
 9527       Diag(D.getIdentifierLoc(),
 9531     CheckExplicitInstantiation(*this, Prev, D.getIdentifierLoc(), true, TSK);
 9537     if (CheckSpecializationInstantiationRedecl(D.getIdentifierLoc(), TSK, Prev,
 9543       Prev->setTemplateSpecializationKind(TSK, D.getIdentifierLoc());
 9547         InstantiateVariableDefinition(D.getIdentifierLoc(), Prev);
 9580   TemplateSpecCandidateSet FailedCandidates(D.getIdentifierLoc());
 9642         D.getIdentifierLoc(),
 9678     Diag(D.getIdentifierLoc(),
 9693     if (CheckSpecializationInstantiationRedecl(D.getIdentifierLoc(), TSK,
 9729   Specialization->setTemplateSpecializationKind(TSK, D.getIdentifierLoc());
 9736     InstantiateFunctionDefinition(D.getIdentifierLoc(), Specialization);
 9749     Diag(D.getIdentifierLoc(),
 9757       D.getIdentifierLoc(), D.getCXXScopeSpec().isSet(), TSK);
tools/clang/lib/Sema/SemaType.cpp
 1267   SourceLocation DeclLoc = declarator.getIdentifierLoc();
 2840                                 D.getIdentifierLoc());
 2877                                   D.getIdentifierLoc());
 2894                               D.getIdentifierLoc(),
 3271     FullSourceLoc Name(D.getIdentifierLoc(), S.SourceMgr);
 4405       T = S.BuildBlockPointerType(T, D.getIdentifierLoc(), Name);
 4418         S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec);
 4441           S.Diag(D.getIdentifierLoc(), diag::err_opencl_pointer_to_type) << T;
 4454         S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec);
 4468         S.Diag(D.getIdentifierLoc(), diag::err_distant_exception_spec);
 4625             S.Diag(D.getIdentifierLoc(), diag::err_opencl_invalid_return)
 4630           S.Diag(D.getIdentifierLoc(),
 4641           S.Diag(D.getIdentifierLoc(), diag::err_opencl_invalid_return)
 4653           S.Diag(D.getIdentifierLoc(), diag::err_opencl_variadic_function);
 5191     S.Diag(D.getIdentifierLoc(), diag::warn_deprecated_volatile_param) << T;