In this patch I follow up the earlier refactoring/cleanup work by fixing up how 
we handle the virtual files the ASTReader has to handle.  Specifically, this 
occurs when the reader is reading AST files that were created in memory and not 
written to disk.  For example, this happens if the user creates a chained PCH 
using command line flags.  These virtual files are stored in MemoryBuffers in 
ChainIncludeSource.cpp, and then read back in by the ASTReader.  This patch 
moves the management of these buffers into the ModuleManager, so that it 
becomes the authority on where these buffers are located.  

Jonathan

Attachment: ASTBuffersRemoval.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to