Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
f21a92d35953adb038ffbe37cd1a4083e0df0ec0
/
test
/
Sema
/
switch.c
e24b575
Tweak the typo-correction implementation to determine corrections
by Douglas Gregor
· 14 years ago
b7690b4
turn down the logical bitwise confusion warning to not warn
by Chris Lattner
· 14 years ago
90a8f27
Add a warning to catch a bug recently caught by code review, like this:
by Chris Lattner
· 14 years ago
6907fbe
When deciding whether an expression has the boolean nature, don't look through
by John McCall
· 15 years ago
0fb9708
If a switch condition is constant, don't warn about missing enum cases.
by John McCall
· 15 years ago
f9f627d
Don't warn about case-value conversions from a negative value to a
by Douglas Gregor
· 15 years ago
2853eac
Don't diagnose overflow in case statements when the conversion is a
by Douglas Gregor
· 15 years ago
30ab371
For -Wswitch-enum warnings, be sure to look through typedefs of enum
by Douglas Gregor
· 15 years ago
ba915af
Warn when cases are missing from a switch on a value of enumeration
by Douglas Gregor
· 15 years ago
539c5c3
Fix the search for visible declarations within a Scope to ensure that
by Douglas Gregor
· 15 years ago
a572887
Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.
by Daniel Dunbar
· 15 years ago
be724ba
When the condition of a switch() statement is semantically invalid,
by Douglas Gregor
· 15 years ago
5f04881
Implement PR4407 - missing warnings on case value overflow,
by Chris Lattner
· 15 years ago
d7d5f02
Rename clang to clang-cc.
by Daniel Dunbar
· 16 years ago
d3a61d5
Use VerifyIntegerConstantExpression for case values.
by Anders Carlsson
· 16 years ago
5f4a682
Make all the 'redefinition' diagnostics more consistent, and make the
by Chris Lattner
· 16 years ago
6dde0d5
Case values must be evaluated
by Anders Carlsson
· 16 years ago
51fe996
Use Expr::Evaluate for case statements. Fixes PR2525
by Anders Carlsson
· 16 years ago
3b427b3
rename -parse-ast-print to -ast-print
by Chris Lattner
· 17 years ago
9f3d942
Removed option "-parse-ast-check" from clang driver. This is now implemented
by Ted Kremenek
· 17 years ago
0471f5b
finish off switch case overlap checking, adding support for
by Chris Lattner
· 17 years ago
6efc4d3
detect and diagnose empty case ranges:
by Chris Lattner
· 17 years ago
f334850
fix a segfault in cases where there are no cases.
by Chris Lattner
· 17 years ago
b2ec9d6
report duplicate case values. TODO: report duplicate/overlapping ranges.
by Chris Lattner
· 17 years ago
f4021e7
start checking case values of switch stmts more closely. Emit overflow
by Chris Lattner
· 17 years ago
8a87e57
correctly verify that default and case are in a switchstmt,
by Chris Lattner
· 17 years ago