reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6019 Entity)) { 6058 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { 6058 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) { 6060 << Entity << Arg->getSourceRange(); 6066 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) { 6075 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity); 6076 VarDecl *Var = dyn_cast<VarDecl>(Entity); 6088 if (Entity->getFormalLinkage() == InternalLinkage) { 6093 << !Func << Entity << Arg->getSourceRange(); 6094 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) 6096 } else if (!Entity->hasLinkage()) { 6098 << !Func << Entity << Arg->getSourceRange(); 6099 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object) 6196 TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()), ParamType); 6197 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);