Le 29 juin 2012 à 07:57, Meador Inge a écrit :

> Moving to cfe-commits...
> 
> On Jun 28, 2012, at 6:06 PM, Jean-Daniel Dupas wrote:
> 
>> Hello (and please ignore previous mail to cfe-dev),
>> 
>> I'm trying to fix a regression with va_list handling in precompiled headers.
>> 
>> http://llvm.org/bugs/show_bug.cgi?id=13189
>> 
>> Can someone tell me if the attached patch is the right approach to solve 
>> this type serialization issue.
> 
> 
> I was working on something slightly more simplified where a reference to the 
> __va_list_tag type is just saved when building the decls.  Something like the 
> attached. 
> 

+    case PREDEF_TYPE_VA_LIST_TAG:
+      T = Context.VaListTagTy;
+      break;

Is there any guarantee the type will be already built at this point ? 


-- Jean-Daniel





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

Reply via email to