]> granicus.if.org Git - clang/commit
Implement a warning for mixing bitwise logical with comparison ops. Fixes PR5297.
authorSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 26 Oct 2009 15:24:15 +0000 (15:24 +0000)
committerSebastian Redl <sebastian.redl@getdesigned.at>
Mon, 26 Oct 2009 15:24:15 +0000 (15:24 +0000)
commit9e1d29bb369530c15230e4c92aa67239c283ece2
treeaabef2c8556c5b94ed52219e33cc1686bb28b92b
parent8d737cc78cb28f39179d6c7ca00eb5d3cf563129
Implement a warning for mixing bitwise logical with comparison ops. Fixes PR5297.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85117 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/parentheses.c [new file with mode: 0644]