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

References

tools/clang/lib/Sema/SemaTemplate.cpp
 9367   DeclarationNameInfo NameInfo = GetNameForDeclarator(D);
 9370     if (!D.isInvalidType())
 9371       Diag(D.getDeclSpec().getBeginLoc(),
 9373           << D.getDeclSpec().getSourceRange() << D.getSourceRange();
 9373           << D.getDeclSpec().getSourceRange() << D.getSourceRange();
 9385   TypeSourceInfo *T = GetTypeForDeclarator(D, S);
 9393   if (D.getDeclSpec().getStorageClassSpec() == DeclSpec::SCS_typedef) {
 9394     Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_of_typedef)
 9397   } else if (D.getDeclSpec().getStorageClassSpec()
 9400     Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_storage_class)
 9401       << FixItHint::CreateRemoval(D.getDeclSpec().getStorageClassSpecLoc());
 9403     D.getMutableDeclSpec().ClearStorageClassSpecs();
 9411   if (D.getDeclSpec().isInlineSpecified())
 9412     Diag(D.getDeclSpec().getInlineSpecLoc(),
 9416       << FixItHint::CreateRemoval(D.getDeclSpec().getInlineSpecLoc());
 9417   if (D.getDeclSpec().hasConstexprSpecifier() && R->isFunctionType())
 9420     Diag(D.getDeclSpec().getConstexprSpecLoc(),
 9426     Diag(D.getDeclSpec().getBeginLoc(), diag::err_deduction_guide_specialized)
 9440   LookupParsedName(Previous, S, &D.getCXXScopeSpec());
 9459         Diag(D.getIdentifierLoc(), diag::err_explicit_instantiation_not_known)
 9469         Diag(D.getIdentifierLoc(),
 9490       if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId) {
 9494         Diag(D.getIdentifierLoc(),
 9504           makeTemplateArgumentListInfo(*this, *D.getName().TemplateId);
 9507                                           D.getIdentifierLoc(), TemplateArgs);
 9526     if (!ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()) && !PrevTemplate)
 9527       Diag(D.getIdentifierLoc(),
 9529         << Prev << D.getCXXScopeSpec().getRange();
 9531     CheckExplicitInstantiation(*this, Prev, D.getIdentifierLoc(), true, TSK);
 9537     if (CheckSpecializationInstantiationRedecl(D.getIdentifierLoc(), TSK, Prev,
 9543       Prev->setTemplateSpecializationKind(TSK, D.getIdentifierLoc());
 9545       ProcessDeclAttributeList(S, Prev, D.getDeclSpec().getAttributes());
 9547         InstantiateVariableDefinition(D.getIdentifierLoc(), Prev);
 9568   if (D.getName().getKind() == UnqualifiedIdKind::IK_TemplateId) {
 9569     TemplateArgs = makeTemplateArgumentListInfo(*this, *D.getName().TemplateId);
 9580   TemplateSpecCandidateSet FailedCandidates(D.getIdentifierLoc());
 9627             IdentifyCUDATarget(D.getDeclSpec().getAttributes())) {
 9642         D.getIdentifierLoc(),
 9670           Specialization->getLocation(), FPT, D.getBeginLoc());
 9678     Diag(D.getIdentifierLoc(),
 9693     if (CheckSpecializationInstantiationRedecl(D.getIdentifierLoc(), TSK,
 9720   ProcessDeclAttributeList(S, Specialization, D.getDeclSpec().getAttributes());
 9729   Specialization->setTemplateSpecializationKind(TSK, D.getIdentifierLoc());
 9736     InstantiateFunctionDefinition(D.getIdentifierLoc(), Specialization);
 9746   if (D.getName().getKind() != UnqualifiedIdKind::IK_TemplateId && !FunTmpl &&
 9747       D.getCXXScopeSpec().isSet() &&
 9748       !ScopeSpecifierHasTemplateId(D.getCXXScopeSpec()))
 9749     Diag(D.getIdentifierLoc(),
 9751     << Specialization << D.getCXXScopeSpec().getRange();
 9757       D.getIdentifierLoc(), D.getCXXScopeSpec().isSet(), TSK);
 9757       D.getIdentifierLoc(), D.getCXXScopeSpec().isSet(), TSK);