https://github.com/klausler commented: This is a very large patch to solve a problem that I caused by omitting a couple of calls to ShouldWarn. I'd rather just add those calls to ShouldWarn. https://github.com/llvm/llvm-project/pull/154234