[cfe-commits] r135705 - in /cfe/trunk: include/clang/Serialization/ASTReader.h lib/Serialization/ASTReader.cpp

Douglas Gregor dgregor at apple.com
Thu Jul 21 22:27:53 PDT 2011


On Jul 21, 2011, at 6:48 PM, Jonathan D. Turner wrote:

> On Thu, Jul 21, 2011 at 4:44 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> TotalModulesSizeInBits and GlobalBitOffset have nothing to do with CXX_BASE_SPECIFIER_OFFSETS, and they shouldn't depend on its presence or absence. Put them in the right places in ReadASTCore.
>> 
> 
> Moved them to after the AST is read successfully.  This seems to
> prevent the ordering issue of setting them right after SizeInBits is
> set.

Looks good, thanks!

	- Doug



More information about the cfe-commits mailing list