Home | History | Annotate | Download | only in Sema

Lines Matching defs:Entity

382       //     entity as the one found in the class of the object expression,
1593 /// \param IsExplicitSpecialization will be set true if the entity being
1929 // entity being declared.
3763 ValueDecl *Entity = DRE->getDecl();
3766 if (FieldDecl *Field = dyn_cast<FieldDecl>(Entity)) {
3774 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(Entity)) {
3783 FunctionDecl *Func = dyn_cast<FunctionDecl>(Entity);
3784 VarDecl *Var = dyn_cast<VarDecl>(Entity);
3796 if (Entity->getLinkage() == InternalLinkage) {
3800 << !Func << Entity << Arg->getSourceRange();
3801 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
3803 } else if (Entity->getLinkage() == NoLinkage) {
3805 << !Func << Entity << Arg->getSourceRange();
3806 S.Diag(Entity->getLocation(), diag::note_template_arg_internal_object)
3882 // taking the address of the entity.
3951 Converted = TemplateArgument(cast<ValueDecl>(Entity->getCanonicalDecl()),
3953 S.MarkAnyDeclReferenced(Arg->getLocStart(), Entity, false);
4944 /// \param Specialized the entity being specialized or instantiated, which
4949 /// \param PrevDecl the previous declaration of this entity, if any.
4952 /// this entity.
5690 /// \param PrevDecl the previous declaration of the entity.
5784 // If an entity is the subject of both an explicit instantiation
7198 DeclarationName Entity;
7205 DeclarationName Entity)
7207 Loc(Loc), Entity(Entity) { }
7218 /// \brief Returns the location of the entity whose type is being
7222 /// \brief Returns the name of the entity whose type is being rebuilt.
7223 DeclarationName getBaseEntity() { return Entity; }
7225 /// \brief Sets the "base" location and entity when that
7227 void setBase(SourceLocation Loc, DeclarationName Entity) {
7229 this->Entity = Entity;