| Commit message (Expand) | Author | Age | Files | Lines |
* | Refactor checking of switch conditions and case values. | Richard Smith | 2018-07-26 | 1 | -1/+1 |
* | [Sema] Assign new flag -Wenum-compare-switch to switch-related parts of -Wenu... | Gabor Horvath | 2017-08-09 | 1 | -1/+1 |
* | [Sema] Extend -Wenum-compare to handle mixed enum comparisons in switch state... | Gabor Horvath | 2017-08-09 | 1 | -0/+1 |
* | PR11778: Fix the rejects-valid half of this bug. We still produce the same | Richard Smith | 2014-08-04 | 1 | -1/+11 |
* | Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda a... | David Blaikie | 2014-04-02 | 1 | -16/+16 |
* | Allow the warning 'case value not in enumerated type' to be silenced with | Dmitri Gribenko | 2013-12-05 | 1 | -0/+26 |
* | Add new -Wunique-enum which will warn on enums which all elements have the | Richard Trieu | 2012-05-30 | 1 | -1/+1 |
* | Produce more useful 'duplicate case' diagnostics. Fixes PR9243, from Terry Long! | Douglas Gregor | 2012-05-16 | 1 | -1/+30 |
* | For enums with no tag name, display its location in | Fariborz Jahanian | 2012-03-21 | 1 | -16/+33 |
* | Generalize -Wempty-body: warn when statement body is empty (closes: PR11329) | Dmitri Gribenko | 2012-02-14 | 1 | -1/+3 |
* | Move -Wcovered-switch-default out of -Wswitch (and -Wall), and make it an opt... | Ted Kremenek | 2012-02-08 | 1 | -1/+1 |
* | In C++11 mode, when an integral constant expression is desired and we have a | Richard Smith | 2012-02-04 | 1 | -2/+5 |
* | Reword/rename -Wswitch-unreachable-default. | David Blaikie | 2012-01-24 | 1 | -1/+1 |
* | Improve -Wswitch-enum diagnostic message. | David Blaikie | 2012-01-24 | 1 | -10/+3 |
* | Fix -Wswitch to warn about out of bounds enum cases even when there's a default | David Blaikie | 2012-01-22 | 1 | -0/+8 |
* | Add -Wswitch-enum-redundant-default. | David Blaikie | 2012-01-21 | 1 | -0/+9 |
* | C++11 constant expressions: Don't use CheckICE in C++11; instead, determine | Richard Smith | 2011-12-09 | 1 | -2/+2 |
* | Tweak the typo-correction implementation to determine corrections | Douglas Gregor | 2010-10-14 | 1 | -1/+1 |
* | turn down the logical bitwise confusion warning to not warn | Chris Lattner | 2010-07-24 | 1 | -4/+2 |
* | Add a warning to catch a bug recently caught by code review, like this: | Chris Lattner | 2010-07-13 | 1 | -2/+4 |
* | When deciding whether an expression has the boolean nature, don't look through | John McCall | 2010-06-12 | 1 | -0/+11 |
* | If a switch condition is constant, don't warn about missing enum cases. | John McCall | 2010-05-18 | 1 | -7/+23 |
* | Don't warn about case-value conversions from a negative value to a | Douglas Gregor | 2010-03-01 | 1 | -0/+7 |
* | Don't diagnose overflow in case statements when the conversion is a | Douglas Gregor | 2010-02-18 | 1 | -0/+14 |
* | For -Wswitch-enum warnings, be sure to look through typedefs of enum | Douglas Gregor | 2010-02-17 | 1 | -0/+17 |
* | Warn when cases are missing from a switch on a value of enumeration | Douglas Gregor | 2010-02-08 | 1 | -0/+138 |
* | Fix the search for visible declarations within a Scope to ensure that | Douglas Gregor | 2010-01-07 | 1 | -1/+1 |
* | Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'. | Daniel Dunbar | 2009-12-15 | 1 | -1/+1 |
* | When the condition of a switch() statement is semantically invalid, | Douglas Gregor | 2009-11-25 | 1 | -1/+11 |
* | Implement PR4407 - missing warnings on case value overflow, | Chris Lattner | 2009-10-16 | 1 | -0/+7 |
* | Rename clang to clang-cc. | Daniel Dunbar | 2009-03-24 | 1 | -1/+1 |
* | Use VerifyIntegerConstantExpression for case values. | Anders Carlsson | 2008-12-01 | 1 | -4/+4 |
* | Make all the 'redefinition' diagnostics more consistent, and make the | Chris Lattner | 2008-11-23 | 1 | -3/+11 |
* | Case values must be evaluated | Anders Carlsson | 2008-11-22 | 1 | -0/+10 |
* | Use Expr::Evaluate for case statements. Fixes PR2525 | Anders Carlsson | 2008-11-22 | 1 | -0/+22 |
* | rename -parse-ast-print to -ast-print | Chris Lattner | 2007-10-11 | 1 | -1/+1 |
* | Removed option "-parse-ast-check" from clang driver. This is now implemented | Ted Kremenek | 2007-09-26 | 1 | -1/+1 |
* | finish off switch case overlap checking, adding support for | Chris Lattner | 2007-08-23 | 1 | -5/+12 |
* | detect and diagnose empty case ranges: | Chris Lattner | 2007-08-23 | 1 | -0/+2 |
* | fix a segfault in cases where there are no cases. | Chris Lattner | 2007-08-23 | 1 | -0/+4 |
* | report duplicate case values. TODO: report duplicate/overlapping ranges. | Chris Lattner | 2007-08-23 | 1 | -1/+2 |
* | start checking case values of switch stmts more closely. Emit overflow | Chris Lattner | 2007-08-23 | 1 | -1/+8 |
* | correctly verify that default and case are in a switchstmt, | Chris Lattner | 2007-07-23 | 1 | -0/+9 |