Lines Matching refs:entity

138   static bool WillDeallocatePolymorphic(const Symbol &entity,  in WillDeallocatePolymorphic()  argument
140 return WillDeallocate(entity) && IsPolymorphicAllocatable(entity); in WillDeallocatePolymorphic()
168 void SayDeallocateWithImpureFinal(const Symbol &entity, const char *reason) { in SayDeallocateWithImpureFinal() argument
169 context_.SayWithDecl(entity, currentStatementSourcePosition_, in SayDeallocateWithImpureFinal()
176 parser::CharBlock location, const Symbol &entity, const char *reason) { in SayDeallocateOfPolymorph() argument
177 context_.SayWithDecl(entity, location, in SayDeallocateOfPolymorph()
196 const Symbol &entity{*pair.second}; in Post() local
197 if (IsAllocatable(entity) && !IsSaved(entity) && in Post()
198 MightDeallocatePolymorphic(entity, DeallocateAll)) { in Post()
199 SayDeallocateOfPolymorph(endBlockStmt.source, entity, reason); in Post()
201 if (HasImpureFinal(entity)) { in Post()
202 SayDeallocateWithImpureFinal(entity, reason); in Post()
212 if (const Symbol * entity{GetLastName(variable).symbol}) { in Post() local
214 if (MightDeallocatePolymorphic(*entity, DeallocateNonCoarray)) { in Post()
215 SayDeallocateOfPolymorph(variable.GetSource(), *entity, reason); in Post()
217 if (HasImpureFinal(*entity)) { in Post()
218 SayDeallocateWithImpureFinal(*entity, reason); in Post()
233 const Symbol &entity{*name.symbol}; in Post() local
234 const DeclTypeSpec *entityType{entity.GetType()}; in Post()
236 MightDeallocatePolymorphic(entity, DeallocateAll)) { in Post()
238 currentStatementSourcePosition_, entity, reason); in Post()
240 if (HasImpureFinal(entity)) { in Post()
241 SayDeallocateWithImpureFinal(entity, reason); in Post()