aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGClass.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@hanshq.net>2011-06-09 17:06:51 +0000
committerHans Wennborg <hans@hanshq.net>2011-06-09 17:06:51 +0000
commit2f072b442879b8bba8c5dea11d7c61bedb1924ae (patch)
tree5fa094e1f4ec6f64cb8db3d06824c1364eb49952 /lib/CodeGen/CGClass.cpp
parentd7bc7a210993fc4f67cdf5764ce4ef33f2a8ede3 (diff)
Handle overloaded operators in ?: precedence warning
This is a follow-up to r132565, and should address the rest of PR9969: Warn about cases such as int foo(A a, bool b) { return a + b ? 1 : 2; // user probably meant a + (b ? 1 : 2); } also when + is an overloaded operator call. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@132784 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGClass.cpp')
0 files changed, 0 insertions, 0 deletions