]> granicus.if.org Git - clang/commit
Silence ?: precendence warning when parenthesis are present.
authorHans Wennborg <hans@hanshq.net>
Mon, 12 Sep 2011 12:07:30 +0000 (12:07 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 12 Sep 2011 12:07:30 +0000 (12:07 +0000)
commitcb4d7c202e74783d9c820f155ae27605aa9f5c16
treea97ceaed3f6d2f75ce58fe85279da4d73cfbae1b
parentafc5b15022886c9e9e84d7aa0f2168b83e712310
Silence ?: precendence warning when parenthesis are present.

Fixes PR10898. The warning should be silent when there are parenthesis
around the condition expression.

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