aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaOverload.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2009-11-05 09:23:39 +0000
committerJohn McCall <rjmccall@apple.com>2009-11-05 09:23:39 +0000
commitb13c87f0c9705d91d5a3e134be9934c9ad531071 (patch)
tree30cbeb34efbd2bc086a6e81ca4738bf1e45ad08b /lib/Sema/SemaOverload.cpp
parentae78447ef124fcbc6bef14f73a67586420c0196a (diff)
Implement the conditional-operator part of -Wsign-compare. Turn
DiagnoseSignCompare into Sema::CheckSignCompare and call it from more places. Add some enumerator tests. These seem to expose some oddities in the types we're converting C++ enumerators to; in particular, they're converting to unsigned before int, which seems to contradict 4.5 [conv.prom] p2. Note to self: stop baiting Doug in my commit messages. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@86128 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaOverload.cpp')
0 files changed, 0 insertions, 0 deletions