Lines Matching refs:Entity
247 PreprocessingRecord::addPreprocessedEntity(PreprocessedEntity *Entity) {
248 assert(Entity);
249 SourceLocation BeginLoc = Entity->getSourceRange().getBegin();
251 if (isa<MacroDefinition>(Entity)) {
256 PreprocessedEntities.push_back(Entity);
264 PreprocessedEntities.push_back(Entity);
292 pp_iter insertI = PreprocessedEntities.insert(RI, Entity);
303 pp_iter insertI = PreprocessedEntities.insert(I, Entity);
350 PreprocessedEntity *&Entity = LoadedPreprocessedEntities[Index];
351 if (!Entity) {
352 Entity = ExternalSource->ReadPreprocessedEntity(Index);
353 if (!Entity) // Failed to load.
354 Entity = new (*this)
357 return Entity;