]> granicus.if.org Git - clang/commit
Warn about comparisons between arrays and improve self-comparison
authorDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 19:50:34 +0000 (19:50 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 8 Jun 2010 19:50:34 +0000 (19:50 +0000)
commitd64fdd0c056f1e50488519254f852fa8050f0470
tree5584f1fb350ec2ea0cbe5df9e811d4f613a8b6ac
parenteb5dc498da53b50633eb9b19ca43b8988c340f0d
Warn about comparisons between arrays and improve self-comparison
warnings, from Troy Straszheim! Fixes PR6163.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@105631 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/Sema/compare.c
test/Sema/ext_vector_comparisons.c [new file with mode: 0644]
test/Sema/self-comparison.c
test/SemaCXX/overloaded-operator.cpp
test/SemaCXX/warn-self-comparisons.cpp [new file with mode: 0644]