Lines Matching defs:Entity

3534         /*Entity=*/AliasTemplate,
6188 Decl *Entity = nullptr) {
6194 if (Entity && Entity->hasAttr<DLLImportAttr>())
6442 ValueDecl *Entity = nullptr;
6444 Entity = DRE->getDecl();
6446 Entity = CUE->getGuidDecl();
6451 Entity)) {
6478 if (!Entity) {
6486 if (isa<FieldDecl>(Entity) || isa<IndirectFieldDecl>(Entity)) {
6488 << Entity << Arg->getSourceRange();
6494 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) {
6503 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
6504 VarDecl *Var = dyn_cast<VarDecl>(Entity);
6505 MSGuidDecl *Guid = dyn_cast<MSGuidDecl>(Entity);
6512 S.Diag(Entity->getLocation(), diag::note_template_arg_refers_here);
6517 if (Entity->getFormalLinkage() == Linkage::Internal) {
6522 << !Func << Entity << Arg->getSourceRange();
6523 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6525 } else if (!Entity->hasLinkage()) {
6527 << !Func << Entity << Arg->getSourceRange();
6528 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
6555 if (!S.Context.hasSameUnqualifiedType(Entity->getType(),
6568 ArgType = Entity->getType();
6577 } else if (Entity->getType()->isArrayType()) {
6579 ArgType = S.Context.getArrayDecayedType(Entity->getType());
6584 ArgType = S.Context.getPointerType(Entity->getType());
6604 SugaredConverted = TemplateArgument(Entity, ParamType);
6606 TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()),
6608 S.MarkAnyDeclReferenced(Arg->getBeginLoc(), Entity, false);
6682 ValueDecl *Entity = DRE ? DRE->getDecl() : nullptr;
6686 Entity)) {
6787 InitializedEntity Entity =
6793 DeduceTemplateSpecializationFromInitializer(TSI, Entity, Kind, Inits);
6931 InitializedEntity Entity =
6933 InitializationSequence InitSeq(*this, Entity, Kind, Inits);
6934 ExprResult Result = InitSeq.Perform(*this, Entity, Kind, Inits);
10994 DeclarationName Entity;
11001 DeclarationName Entity)
11003 Loc(Loc), Entity(Entity) { }
11019 DeclarationName getBaseEntity() { return Entity; }
11023 void setBase(SourceLocation Loc, DeclarationName Entity) {
11025 this->Entity = Entity;