diff options
author | John McCall <rjmccall@apple.com> | 2009-11-05 09:23:39 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2009-11-05 09:23:39 +0000 |
commit | 1fa36b7cabfa24ec4f61e2fb3807af3891dc9ee4 (patch) | |
tree | 9f98284ebc313a2b081c8eb18d794dab954ceba2 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c92ff053e9e5997d385182d509288cea438f969f (diff) | |
download | bcm5719-llvm-1fa36b7cabfa24ec4f61e2fb3807af3891dc9ee4.tar.gz bcm5719-llvm-1fa36b7cabfa24ec4f61e2fb3807af3891dc9ee4.zip |
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.
llvm-svn: 86128
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions