Lines Matching defs:Entity
3345 /*Entity=*/AliasTemplate,
5929 Decl *Entity = nullptr) {
5935 if (Entity && Entity->hasAttr<DLLImportAttr>())
6183 ValueDecl *Entity = nullptr;
6185 Entity = DRE->getDecl();
6187 Entity = CUE->getGuidDecl();
6192 Entity)) {
6219 if (!Entity) {
6227 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) {
6229 << Entity << Arg->getSourceRange();
6235 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) {
6244 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
6245 VarDecl *Var = dyn_cast<VarDecl>(Entity);
6246 MSGuidDecl *Guid = dyn_cast<MSGuidDecl>(Entity);
6253 S.Diag(Entity->getLocation(), diag::note_template_arg_refers_here);
6258 if (Entity->getFormalLinkage() == Linkage::Internal) {
6263 << !Func << Entity << Arg->getSourceRange();
6264 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6266 } else if (!Entity->hasLinkage()) {
6268 << !Func << Entity << Arg->getSourceRange();
6269 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6296 if (!S.Context.hasSameUnqualifiedType(Entity->getType(),
6309 ArgType = Entity->getType();
6318 } else if (Entity->getType()->isArrayType()) {
6320 ArgType = S.Context.getArrayDecayedType(Entity->getType());
6325 ArgType = S.Context.getPointerType(Entity->getType());
6345 SugaredConverted = TemplateArgument(Entity, ParamType);
6347 TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()),
6349 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);
6423 ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
6427 Entity)) {
6527 InitializedEntity Entity =
6533 DeduceTemplateSpecializationFromInitializer(TSI, Entity, Kind, Inits);
6671 InitializedEntity Entity =
6673 InitializationSequence InitSeq(*this, Entity, Kind, Inits);
6674 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Inits);
10647 DeclarationName Entity;
10654 DeclarationName Entity)
10656 Loc(Loc), Entity(Entity) { }
10672 DeclarationName getBaseEntity() { return Entity; }
10676 void setBase(SourceLocation Loc, DeclarationName Entity) {
10678 this->Entity = Entity;