Lines Matching refs:Entity
245 PreprocessingRecord::addPreprocessedEntity(PreprocessedEntity *Entity) { in addPreprocessedEntity() argument
246 assert(Entity); in addPreprocessedEntity()
247 SourceLocation BeginLoc = Entity->getSourceRange().getBegin(); in addPreprocessedEntity()
249 if (isa<MacroDefinitionRecord>(Entity)) { in addPreprocessedEntity()
255 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
263 PreprocessedEntities.push_back(Entity); in addPreprocessedEntity()
291 pp_iter insertI = PreprocessedEntities.insert(RI, Entity); in addPreprocessedEntity()
302 pp_iter insertI = PreprocessedEntities.insert(I, Entity); in addPreprocessedEntity()
349 PreprocessedEntity *&Entity = LoadedPreprocessedEntities[Index]; in getLoadedPreprocessedEntity() local
350 if (!Entity) { in getLoadedPreprocessedEntity()
351 Entity = ExternalSource->ReadPreprocessedEntity(Index); in getLoadedPreprocessedEntity()
352 if (!Entity) // Failed to load. in getLoadedPreprocessedEntity()
353 Entity = new (*this) in getLoadedPreprocessedEntity()
356 return Entity; in getLoadedPreprocessedEntity()