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

Matthias Kleine matthias_kleine at gmx.de
Fri Oct 26 01:25:49 PDT 2012


On Oct 25, 2012, at 7:19 PM, Argyrios Kyrtzidis <kyrtzidis at apple.com> wrote:

> On Oct 25, 2012, at 4:08 AM, Matthias Kleine <matthias_kleine at gmx.de> wrote:
> 
>> 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.
> 
> Thanks for the test case!
> Could you please file a bug report in bugzilla ?

Done. Find the bug at http://llvm.org/bugs/show_bug.cgi?id=14181

Cheers,
Matthias



More information about the cfe-dev mailing list