Disabling custom warnings via pragma


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 ?

Sérgio Martins