Lines Matching refs:Entity
252 PreprocessingRecord::addPreprocessedEntity(PreprocessedEntity *Entity) {
253 assert(Entity);
254 SourceLocation BeginLoc = Entity->getSourceRange().getBegin();
256 if (isa<MacroDefinitionRecord>(Entity)) {
262 PreprocessedEntities.push_back(Entity);
270 PreprocessedEntities.push_back(Entity);
298 pp_iter insertI = PreprocessedEntities.insert(RI, Entity);
308 pp_iter insertI = PreprocessedEntities.insert(I, Entity);
372 PreprocessedEntity *&Entity = LoadedPreprocessedEntities[Index];
373 if (!Entity) {
374 Entity = ExternalSource->ReadPreprocessedEntity(Index);
375 if (!Entity) // Failed to load.
376 Entity = new (*this)
379 return Entity;