[cfe-commits] [PATCH] Removing ASTBuffers from the ASTReader

Jonathan Turner 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...
Name: ASTBuffersRemoval.patch
Type: application/octet-stream
Size: 6541 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110801/62c56ae4/attachment.obj>

More information about the cfe-commits mailing list