diff options
author | Hans Wennborg <hans@hanshq.net> | 2011-06-09 17:06:51 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2011-06-09 17:06:51 +0000 |
commit | de2e67e546c6ef75716f3193e9323d9215ed22af (patch) | |
tree | c532990b0acc02ed3310eb20ab4fec31466a595a /lldb/scripts/Python/build-swig-Python.sh | |
parent | 8b51f19ec1525f926e97b7f70c9afbf7ac09b7ae (diff) | |
download | bcm5719-llvm-de2e67e546c6ef75716f3193e9323d9215ed22af.tar.gz bcm5719-llvm-de2e67e546c6ef75716f3193e9323d9215ed22af.zip |
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.
llvm-svn: 132784
Diffstat (limited to 'lldb/scripts/Python/build-swig-Python.sh')
0 files changed, 0 insertions, 0 deletions