[PATCH] D69292: Proposal to add -Wtautological-compare to -Wall

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 28 09:48:08 PDT 2019


aaron.ballman added a comment.

In D69292#1723720 <https://reviews.llvm.org/D69292#1723720>, @xbolva00 wrote:

> Just use
>
>   // RUN: %clang_cc1 -fsyntax-only -verify -Wall %s
>   // RUN: %clang_cc1 -fsyntax-only -verify -Wtautological-bitwise-compare %s
>
>
> in
>
> clang/test/SemaCXX/warn-bitwise-compare.cpp
>
> ?


Yup, that's all I really need.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69292/new/

https://reviews.llvm.org/D69292





More information about the cfe-commits mailing list