[cfe-dev] Diagnostics not restored when disabled from within PCH

Matthias Kleine matthias_kleine at gmx.de
Thu Oct 25 04:08:09 PDT 2012


Hi all,

I just found that diagnostics that are temporarily disabled (using "#pragma clang diagnostic push/pop") from within precompiled headers are not re-enabled in the including file. Find attached a patch that extends the existing PCH-diagnostics-test to also test for this.

I'd be happy if someone could take care of this.

Cheers,
Matthias

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_diagnostics_restored.patch
Type: application/octet-stream
Size: 956 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20121025/bd3e41ec/attachment.obj>


More information about the cfe-dev mailing list