[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
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-
Right now clang complains (unknown pragma). Is there a way to register my
warning without modifying and recompiling clang, only the plugin ?
More information about the cfe-dev