]> granicus.if.org Git - clang/commit
Improve fixit for comparison operator on lhs of bitwise operator.
authorNico Weber <nicolasweber@gmx.de>
Sun, 3 Jun 2012 07:07:00 +0000 (07:07 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sun, 3 Jun 2012 07:07:00 +0000 (07:07 +0000)
commit40e29999daa20646decd3fe4aeb88a487874049c
treee63c3963840597dafd3b1c2e2e209f7e25479842
parent2f316dd47b851fcf58c8f1f072bf390ec09bed7a
Improve fixit for comparison operator on lhs of bitwise operator.

Before:
test.cc:2:18: note: place parentheses around the == expression to silence this warning
  if (0 == flags & 0xdd)
                 ^
                   (   )

Now:
test.cc:2:18: note: place parentheses around the == expression to silence this warning
  if (0 == flags & 0xdd)
                 ^
      (         )

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@157897 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaExpr.cpp
test/Misc/tabstop.c