Fixes PR 51837.
When a -W<diag> option is given on the command line, and the corresponding diangostic has the NoWarnOnError flag set, the flag is dropped when the severity is reevaluated, possibly as a result of a pragma or of command line processing.
Might be nice to delete a blank line above to avoid triggering all these line number changes. (That said, I don't really understand why they're listed at all, given that -verify handles line numbers... maybe we want to be sure the macros work in this context?)