summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.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
commit1fa36b7cabfa24ec4f61e2fb3807af3891dc9ee4 (patch)
tree9f98284ebc313a2b081c8eb18d794dab954ceba2 /clang/lib/CodeGen/CodeGenModule.cpp
parentc92ff053e9e5997d385182d509288cea438f969f (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud