[cfe-dev] #pragma diagnostic ignored and template code

Chris Lattner clattner at apple.com
Fri Sep 10 13:20:52 PDT 2010


On Sep 10, 2010, at 4:09 AM, Louis Gerbarg wrote:
>> FWIW, the fix would require us to keep track of the source ranges covering each push/pop. Then, when determining whether to suppress a diagnostic during template instantiation/inline member processing/etc., we would perform a binary search in those source ranges to determine the active pragmas, diagnostic flags, etc.
> 
> How does this effect similiar pragmas, like align? For example:

It is completely unrelated, it uses different infrastructure.

-Chris





More information about the cfe-dev mailing list