summaryrefslogtreecommitdiffstats
path: root/test/Sema/switch.c
Commit message (Expand)AuthorAgeFilesLines
* Refactor checking of switch conditions and case values.Richard Smith2018-07-261-1/+1
* [Sema] Assign new flag -Wenum-compare-switch to switch-related parts of -Wenu...Gabor Horvath2017-08-091-1/+1
* [Sema] Extend -Wenum-compare to handle mixed enum comparisons in switch state...Gabor Horvath2017-08-091-0/+1
* PR11778: Fix the rejects-valid half of this bug. We still produce the sameRichard Smith2014-08-041-1/+11
* Render anonymous entities as '(anonymous <thing>)' (and lambdas as '(lambda a...David Blaikie2014-04-021-16/+16
* Allow the warning 'case value not in enumerated type' to be silenced withDmitri Gribenko2013-12-051-0/+26
* Add new -Wunique-enum which will warn on enums which all elements have theRichard Trieu2012-05-301-1/+1
* Produce more useful 'duplicate case' diagnostics. Fixes PR9243, from Terry Long!Douglas Gregor2012-05-161-1/+30
* For enums with no tag name, display its location in Fariborz Jahanian2012-03-211-16/+33
* Generalize -Wempty-body: warn when statement body is empty (closes: PR11329)Dmitri Gribenko2012-02-141-1/+3
* Move -Wcovered-switch-default out of -Wswitch (and -Wall), and make it an opt...Ted Kremenek2012-02-081-1/+1
* In C++11 mode, when an integral constant expression is desired and we have aRichard Smith2012-02-041-2/+5
* Reword/rename -Wswitch-unreachable-default.David Blaikie2012-01-241-1/+1
* Improve -Wswitch-enum diagnostic message.David Blaikie2012-01-241-10/+3
* Fix -Wswitch to warn about out of bounds enum cases even when there's a defaultDavid Blaikie2012-01-221-0/+8
* Add -Wswitch-enum-redundant-default.David Blaikie2012-01-211-0/+9
* C++11 constant expressions: Don't use CheckICE in C++11; instead, determineRichard Smith2011-12-091-2/+2
* Tweak the typo-correction implementation to determine correctionsDouglas Gregor2010-10-141-1/+1
* turn down the logical bitwise confusion warning to not warn Chris Lattner2010-07-241-4/+2
* Add a warning to catch a bug recently caught by code review, like this:Chris Lattner2010-07-131-2/+4
* When deciding whether an expression has the boolean nature, don't look throughJohn McCall2010-06-121-0/+11
* If a switch condition is constant, don't warn about missing enum cases.John McCall2010-05-181-7/+23
* Don't warn about case-value conversions from a negative value to aDouglas Gregor2010-03-011-0/+7
* Don't diagnose overflow in case statements when the conversion is aDouglas Gregor2010-02-181-0/+14
* For -Wswitch-enum warnings, be sure to look through typedefs of enumDouglas Gregor2010-02-171-0/+17
* Warn when cases are missing from a switch on a value of enumerationDouglas Gregor2010-02-081-0/+138
* Fix the search for visible declarations within a Scope to ensure thatDouglas Gregor2010-01-071-1/+1
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
* When the condition of a switch() statement is semantically invalid,Douglas Gregor2009-11-251-1/+11
* Implement PR4407 - missing warnings on case value overflow,Chris Lattner2009-10-161-0/+7
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
* Use VerifyIntegerConstantExpression for case values.Anders Carlsson2008-12-011-4/+4
* Make all the 'redefinition' diagnostics more consistent, and make the Chris Lattner2008-11-231-3/+11
* Case values must be evaluatedAnders Carlsson2008-11-221-0/+10
* Use Expr::Evaluate for case statements. Fixes PR2525Anders Carlsson2008-11-221-0/+22
* rename -parse-ast-print to -ast-printChris Lattner2007-10-111-1/+1
* Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek2007-09-261-1/+1
* finish off switch case overlap checking, adding support forChris Lattner2007-08-231-5/+12
* detect and diagnose empty case ranges:Chris Lattner2007-08-231-0/+2
* fix a segfault in cases where there are no cases.Chris Lattner2007-08-231-0/+4
* report duplicate case values. TODO: report duplicate/overlapping ranges.Chris Lattner2007-08-231-1/+2
* start checking case values of switch stmts more closely. Emit overflowChris Lattner2007-08-231-1/+8
* correctly verify that default and case are in a switchstmt,Chris Lattner2007-07-231-0/+9