Skip to content
Commit fe042e6a authored by Richard Trieu's avatar Richard Trieu
Browse files

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.

llvm-svn: 179662
parent 37ae72b5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment