aaron.ballman added a comment. In D147844#4299418 <https://reviews.llvm.org/D147844#4299418>, @chaitanyav wrote:
> @aaron.ballman just for learning, can you point me to the code where a > warning is selectively enabled/disabled based on a flag. For e.g. > -Wunused-comparison Sure! This is handled automagically for you by tablegen when you use `DefaultIgnore` while defining the diagnostic, as in: https://github.com/llvm/llvm-project/blob/c4505158950f2211d8c4b429049f2cd765f3e092/clang/include/clang/Basic/DiagnosticSemaKinds.td#L28 Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D147844/new/ https://reviews.llvm.org/D147844 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits