diff options
author | Richard Trieu <rtrieu@google.com> | 2013-04-17 02:12:45 +0000 |
---|---|---|
committer | Richard Trieu <rtrieu@google.com> | 2013-04-17 02:12:45 +0000 |
commit | 2a6e528cbd687e22744d5d7eba428afea99da300 (patch) | |
tree | 158aacde760e616fab81ca3159cc18e537e0a67c /unittests/Format/FormatTest.cpp | |
parent | 673c5d5e22b0af17bb9e903862f39e8a23d9e47f (diff) |
Add warning group -Woverloaded-shift-op-parentheses to -Wparentheses. This
will fire on code such as:
cout << x == 0;
which the compiler will intrepret as
(cout << x) == 0;
This warning comes with two fixits attached to notes, one for parentheses to
silence the warning, and another to evaluate the comparison first.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@179662 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions