[cfe-dev] Disabling custom warnings via pragma
Sergio Martins via cfe-dev
cfe-dev at lists.llvm.org
Fri Apr 8 10:16:23 PDT 2016
Hi,
I wrote a clang plugin which emits a custom warning, lets call it -Wmy-foo.
Would it be possible to disable it via "#pragma clang diagnostic ignored -Wmy-
foo" ?
Right now clang complains (unknown pragma). Is there a way to register my
warning without modifying and recompiling clang, only the plugin ?
Regards,
Sérgio Martins
More information about the cfe-dev
mailing list