diff options
author | John McCall <rjmccall@apple.com> | 2010-03-11 19:43:18 +0000 |
---|---|---|
committer | John McCall <rjmccall@apple.com> | 2010-03-11 19:43:18 +0000 |
commit | d1b47bf17fde73fac67d8664bd65273742c00ecd (patch) | |
tree | 0cea232c72cbc5a9ebd3ad9079fe5e18e3e1dbec /lib/Sema/Sema.h | |
parent | d7358a3a63e66aafc49f394613a3afe4403d7c6b (diff) |
Warn about comparing an unsigned expression with 0 in tautological ways.
Patch by mikem!
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98279 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index c9f39e2b99..0012435124 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -4245,8 +4245,7 @@ private: SourceLocation ReturnLoc); void CheckFloatComparison(SourceLocation loc, Expr* lex, Expr* rex); void CheckSignCompare(Expr *LHS, Expr *RHS, SourceLocation Loc, - const PartialDiagnostic &PD, - bool Equality = false); + const BinaryOperator::Opcode* BinOpc = 0); void CheckImplicitConversion(Expr *E, QualType Target); }; |