aboutsummaryrefslogtreecommitdiff
path: root/test/Sema/enum.c
AgeCommit message (Expand)Author
2012-02-07Fix a couple of nasty bugs involving negative enum constants. <rdar://proble...Eli Friedman
2010-11-29Incomplete enum types not to be treated as integer typeFariborz Jahanian
2010-11-08Document Clang's support for attributes on individual enumerators andJohn McCall
2010-09-19Revert r114316, -Wunused-value enabled by default was intended.Argyrios Kyrtzidis
2010-09-19Make -Wunused-value off by default, matching GCC. Fixes rdar://7126194.Argyrios Kyrtzidis
2010-08-19Fix for PR7911 and PR7921: make isIntegralOrEnumerationType return falseEli Friedman
2010-05-28Changed text of 'empty enum' diagnostics to say so.Fariborz Jahanian
2010-05-28Empty enum in c is now error to match gcc's behavior.Fariborz Jahanian
2010-04-09Improve diagnostics like "initializing <type> from an expression ofDouglas Gregor
2010-04-09Improve diagnostics when we fail to convert from a source type to aDouglas Gregor
2010-02-17When diagnosing enumerator values outside of the range of 'int', beDouglas Gregor
2010-02-01Improve handling of enumerator values for C and C++, including:Douglas Gregor
2010-01-13Don't a.k.a. through the primary typedef of an anonymous tag decl.John McCall
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-08-01Ok, ok, I give in. Fix tests for unused result warning.Daniel Dunbar
2009-03-24Rename clang to clang-cc.Daniel Dunbar
2009-03-10Add type checking for tentative definitions at the end of theDouglas Gregor
2009-03-10Partial fix for PR3310, concerning type-checking for tentativeDouglas Gregor
2009-03-06Implement the GNU semantics for forward declarations of enum types inDouglas Gregor
2009-01-19Centralize error reporting of improper uses of incomplete types in theDouglas Gregor
2009-01-17Warn about typedefs of enums without any declarator name. Fixes rdar://proble...Douglas Gregor
2009-01-17Teach DeclContext how to find the primary declaration for any TagDeclDouglas Gregor
2008-12-15Create new EnumDecl nodes for redeclarations of enums, linking themDouglas Gregor
2008-12-08Workaround for PR3173. The fix is correct in the sense that if the enum Eli Friedman
2008-11-23Make all the 'redefinition' diagnostics more consistent, and make the Chris Lattner
2008-08-07Add test for nested enum redefinition.Daniel Dunbar
2008-07-26testcase for PR2416, which we already handle correctly.Chris Lattner
2008-07-25fix diagnostics.Chris Lattner
2008-07-25Fix rdar://6095136, various crashes with incomplete enum types.Chris Lattner
2008-07-03Fix PR2020 by recovering by defining an anonymous enum, instead of recoveringChris Lattner
2008-01-18Sema::FinalizeDeclaratorGroup()...make sure we emit an diagnostic for tentati...Steve Naroff
2008-01-16Type::isArithmeticType(): disallow incomplete enum decls.Steve Naroff
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-28compute the required destination type for an enum, emitting various warnings.Chris Lattner