hubert.reinterpretcast added a comment. In D122983#3429060 <https://reviews.llvm.org/D122983#3429060>, @aaron.ballman wrote:
> Morally, yes, that's reasonable in CodeGen because you're ensuring you get no > diagnostics. Practically, that's a convoluted, more expensive, less > maintainable way to spell `-Werror` for the test. When diagnostics are > introduced, this pattern encourages people to remove the `// > expected-no-diagnostics` comment and start adding `// expected-warning {{}}` > comments. Running the diagnostic verifier also slows down test execution > because of the extra verification step (which adds up over thousands of > tests). Thanks for the tip. I never thought to use `-Werror` that way. CHANGES SINCE LAST ACTION https://reviews.llvm.org/D122983/new/ https://reviews.llvm.org/D122983 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits