[cfe-commits] [PATCH] Removing ASTBuffers from the ASTReader
jonathan_d_turner at apple.com
Mon Aug 1 14:41:11 PDT 2011
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 6541 bytes
Desc: not available
More information about the cfe-commits