summaryrefslogtreecommitdiff
path: root/test/Sema/compare.c
AgeCommit message (Expand)Author
2018-02-08Merging r324514:Hans Wennborg
2018-01-03[Sema] -Wtautological-constant-compare is too good. Cripple it.Roman Lebedev
2017-09-20[Sema] Move some stuff into -Wtautological-unsigned-enum-zero-compareRoman Lebedev
2017-09-19Revert "[Sema] Move some stuff into -Wtautological-unsigned-enum-zero-compare"Roman Lebedev
2017-09-19[Sema] Move some stuff into -Wtautological-unsigned-enum-zero-compareRoman Lebedev
2017-09-07[Sema] -Wtautological-compare: handle comparison of unsigned with 0S.Roman Lebedev
2013-03-15Enhance -Wtautological-constant-out-of-range-compare to include the name of t...Ted Kremenek
2012-09-20Improvements to my patch in r164143 perFariborz Jahanian
2012-09-18c: warn when an integer value comparison with anFariborz Jahanian
2012-05-01Turn the mixed-sign-comparison diagnostic into a runtime behaviorDouglas Gregor
2011-12-15Enhance the -Wsign-compare handling to suppress the -Wsign-compare warning in...Eli Friedman
2011-07-13Make the integer-range analysis recognize ^= correctly,John McCall
2010-10-06Provide a slightly specialized diagnostic for tautological comparisonsJohn McCall
2010-09-23When warning about comparing an unsigned int to being >= 0, don't issue a war...Ted Kremenek
2010-06-08Warn about comparisons between arrays and improve self-comparisonDouglas Gregor
2010-05-06Rearchitect -Wconversion and -Wsign-compare. Instead of computing themJohn McCall
2010-04-07Teach -Wsign-compare to treat 1 << blah as "idiomatically non-negative".John McCall
2010-03-11Warn about comparing an unsigned expression with 0 in tautological ways.John McCall
2010-01-23Insulate these from changes to the default for -Wunreachable-code.Mike Stump
2010-01-06Don't assert when dealing with unsigned casts of lvalues. Fixes PR5961.John McCall
2010-01-06Significantly rework the calculation of effective integer-expression rangesJohn McCall
2010-01-04-Wsign-compare shouldn't warn when the signed operand is a conditional operatorJohn McCall
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-12-09First pass at implementing C++ enum semantics: calculate (and store) anJohn McCall
2009-11-06compare.c also needs a target triple now, and improve some comments while we'reJohn McCall
2009-11-06Improve the -Wsign-compare heuristics:John McCall
2009-11-06Turn off -Wsign-compare warnings by defaultDouglas Gregor
2009-11-05Implement the conditional-operator part of -Wsign-compare. TurnJohn McCall
2009-11-05Implement -Wsign-compare, or at least the actual comparison part of it.John McCall
2009-08-27Remove unnecessary include.Eli Friedman
2009-08-23Catch a few more cases of illegal comparisons.Eli Friedman
2009-08-23Eli points out that we really must diagnose "void* > 0" as an extension. Chris Lattner
2009-08-22tweak some pointer sema checking stuff (which was added to implement PR4175) to Chris Lattner
2009-07-06Fix a problem with false diagnostics when comparing distinct NULL pointer typ...Douglas Gregor
2009-06-30Implement PR4175, catching some questionable comparisons. Patch byChris Lattner
2009-03-24Rename clang to clang-cc.Daniel Dunbar
2008-02-06Be a bit stricter about array type compatibility.Eli Friedman
2007-10-11rename -parse-ast-print to -ast-printChris Lattner
2007-09-26Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek
2007-08-27Add Type::getAsBuiltinType() and Type::builtinTypesAreCompatible().Steve Naroff
2007-08-26Cases like this:Chris Lattner