Lines Matching defs:Entity
249 PreprocessingRecord::addPreprocessedEntity(PreprocessedEntity *Entity) {
250 assert(Entity);
251 SourceLocation BeginLoc = Entity->getSourceRange().getBegin();
253 if (isa<MacroDefinitionRecord>(Entity)) {
259 PreprocessedEntities.push_back(Entity);
267 PreprocessedEntities.push_back(Entity);
295 pp_iter insertI = PreprocessedEntities.insert(RI, Entity);
305 pp_iter insertI = PreprocessedEntities.insert(I, Entity);
369 PreprocessedEntity *&Entity = LoadedPreprocessedEntities[Index];
370 if (!Entity) {
371 Entity = ExternalSource->ReadPreprocessedEntity(Index);
372 if (!Entity) // Failed to load.
373 Entity = new (*this)
376 return Entity;