[cfe-commits] [patch][pr11822] Error on mismatched #pragma GCC visibility push/pop

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Jan 30 10:33:42 PST 2012


2012/1/30 Rafael EspĂ­ndola <rafael.espindola at gmail.com>:
>> Is it possible to error on the #prama, even when diagnosing the case about
>> the namespace end? That would be ideal...
>
> Not sure what you mean. We do error on:

I think I figured it out. You want the error to be in the pragma line
and the note to point to the end of the namespace, right?

The attached patch implements this. Let me know what do you think.

Thanks,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 6780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120130/efb2fa5c/attachment.obj>


More information about the cfe-commits mailing list