[cfe-commits] r59330 - /cfe/trunk/lib/AST/DeclSerialization.cpp

Mike Stump mrs at apple.com
Fri Nov 14 15:56:21 PST 2008


On Nov 14, 2008, at 3:32 PM, Argiris Kirtzidis wrote:
> -    D.ReadUIntPtr(reinterpret_cast<uintptr_t&>(MDC->SemanticDC),  
> SemaDCPtrID);
> -    D.ReadUIntPtr(reinterpret_cast<uintptr_t&>(MDC->LexicalDC),  
> LexicalDCPtrID);
> +    D.ReadPtr(MDC->SemanticDC, SemaDCPtrID);
> +    D.ReadPtr(MDC->LexicalDC, LexicalDCPtrID);

I like this step forward, but it does mean the bug that still exists  
is merely hidden a bit harder, and when someone wants to fix it, they  
won't have the luxury of a diagnostic to tell them they got the fix  
right.



More information about the cfe-commits mailing list