[PATCH] D15095: Accept "-Weverything" in pragma clang diagnostic ...

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 11 14:09:06 PST 2016


rsmith accepted this revision.
rsmith added a comment.
This revision is now accepted and ready to land.

LGTM

Please also add a test that a `-Weverything` on the command line can be overridden by a `#pragma clang diagnostic ignored "-Weverything"`, even for a diagnostic with no warning flag. (The command line flag sets the `EnableAllWarnings` flag on the `DiagnosticsEngine`, and we should make sure that the pragma properly overrides it.)


http://reviews.llvm.org/D15095





More information about the cfe-commits mailing list