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