Lines Matching defs:Entity
6049 Decl *Entity = nullptr) {
6055 if (Entity && Entity->hasAttr<DLLImportAttr>())
6297 ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
6302 Entity)) {
6341 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) {
6343 << Entity << Arg->getSourceRange();
6349 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) {
6358 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
6359 VarDecl *Var = dyn_cast<VarDecl>(Entity);
6371 if (Entity->getFormalLinkage() == InternalLinkage) {
6376 << !Func << Entity << Arg->getSourceRange();
6377 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6379 } else if (!Entity->hasLinkage()) {
6381 << !Func << Entity << Arg->getSourceRange();
6382 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6479 TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()), ParamType);
6480 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);
6550 ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
6554 Entity)) {
10502 DeclarationName Entity;
10509 DeclarationName Entity)
10511 Loc(Loc), Entity(Entity) { }
10527 DeclarationName getBaseEntity() { return Entity; }
10531 void setBase(SourceLocation Loc, DeclarationName Entity) {
10533 this->Entity = Entity;