summaryrefslogtreecommitdiff
path: root/test/Sema/init.c
Commit message (Expand)AuthorAgeFilesLines
* Make Expr::isConstantInitializer match IRGen.Eli Friedman2013-07-161-0/+3
* Move the test for PR13720 from Sema/init.c to Sema/thread-specifier.c.Hans Wennborg2012-08-291-7/+0
* The address of a TLS var is not compile-time constant (PR13720)Hans Wennborg2012-08-291-0/+7
* Switching to using dyn_cast_or_null, and fixing line endings in the test case.Aaron Ballman2012-02-091-6/+6
* Attempting to initialize a union member that does not exist no longer crashes.Aaron Ballman2012-02-091-3/+12
* CheckStringInit has side effects; make sure we don't run it in VerifyOnly mod...Eli Friedman2011-09-261-0/+4
* fix PR8217, a silent miscompilation of invalid code.Chris Lattner2010-10-101-0/+1
* tests: Use -ffreestanding when including stdint.h, to avoid platform dependen...Daniel Dunbar2010-09-071-1/+1
* Vector types are not arithmetic types, either. Note that we now banDouglas Gregor2010-06-221-2/+0
* Fix PR4386 by implementing gcc's old behaviour (4.2) when initializingRafael Espindola2010-05-071-0/+14
* Fix PR6327: restore invariants when there's a parse error in an initializer.John McCall2010-03-311-1/+2
* Initialization improvements: addition of string initialization and a fewEli Friedman2009-12-191-1/+1
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
* Fix for PR5447: teach Evaluate to deal with floating-point conditionals.Eli Friedman2009-12-041-0/+4
* Reorganize the parsing of decl groups / function definitions so thatJohn McCall2009-11-031-1/+1
* Fix for PR4285: allow intializing a const wchar_t array with a wide Eli Friedman2009-05-311-0/+4
* Explictly track tentative definitions within Sema, then hand thoseDouglas Gregor2009-04-211-2/+1
* hoist checks for ; and in out of ParseInitDeclaratorListAfterFirstDeclaratorChris Lattner2009-03-291-1/+1
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
* Fix PR3868 by making Evaluate handle cases like "(long)&a + 4".Eli Friedman2009-03-241-0/+3
* Add type checking for tentative definitions at the end of theDouglas Gregor2009-03-101-1/+2
* A few small improvements to Evaluate for stuff I noted in FIXMEs.Eli Friedman2009-02-231-0/+9
* Fix test to be legal on 64-bit systems.Eli Friedman2009-02-221-1/+1
* Downgrade the "excess elements in initializer" errors to warnings *inDouglas Gregor2009-02-181-0/+2
* Use our new snazzy stdint.h to make a testcase 64-bit portable.Sebastian Redl2009-02-071-1/+3
* Add iterators to LookupResult, allowing one to iterate over theDouglas Gregor2009-02-021-0/+10
* Closed out a few radars that were addressed by designated initializersDouglas Gregor2009-01-301-0/+16
* Ignore parens when determining if an expr is a string literal. Fixes PR3382.Anders Carlsson2009-01-241-0/+2
* Properly manage the bit-widths of APInts/APSInts in array initialization.Douglas Gregor2009-01-231-1/+3
* Centralize error reporting of improper uses of incomplete types in theDouglas Gregor2009-01-191-1/+2
* Fix test cases broken by quote normalization in diagnostics.Sebastian Redl2008-11-221-1/+1
* Fix PR3031 by silencing follow-on errors in invalid declarations.Chris Lattner2008-11-111-1/+1
* Fix crash caused by this:Argyrios Kyrtzidis2008-11-071-0/+1
* Fix PR3001: if we have an error parsing an initializer, make sure to removeChris Lattner2008-11-031-0/+7
* add the other test case for completeness and to avoid regressions in the futureNuno Lopes2008-09-021-1/+2
* Fix for PR2747: allow pointer->int casts with a null base; these are Eli Friedman2008-09-021-0/+8
* Add test case for function-pointer-cast-of-global as constantDaniel Dunbar2008-08-251-0/+4
* add testcase we already handle.Chris Lattner2008-08-191-0/+4
* wrap some long diagnostics, make 'initializer is not a constant' diagnosticChris Lattner2008-08-101-1/+1
* Make sure to allow assigning a pointer to a bool.Eli Friedman2008-05-301-0/+8
* Fix a couple of bugs found by Neil Booth in the const-ness checking.Eli Friedman2008-05-211-0/+12
* add testcase for pr2050 which is now fixed.Chris Lattner2008-05-041-0/+13
* Improve diagnostic for illegal array initialization.Eli Friedman2008-02-081-0/+4
* all filevar's have static storage. Previously a global withChris Lattner2007-12-021-0/+5
* add several cases that Expr::hasStaticStorage missed, pointed out by Oliver HuntChris Lattner2007-11-271-0/+4
* Implement test/Sema/init.c by treating functions as constants.Chris Lattner2007-11-011-0/+6