aboutsummaryrefslogtreecommitdiff
path: root/clang/test/Sema/array-init.c
AgeCommit message (Expand)AuthorFilesLines
2013-06-08Recognition of empty structures and unions is moved to semantic stageSerge Pavlov1-1/+2
2013-05-06Fix assert if __extension__ or _Generic is used when initializing a char arra...Richard Smith1-1/+1
2012-09-20PR13881: Add -Wzero-length-array for zero length array extension, and move it...Richard Smith1-0/+1
2012-09-12clang/test: [PR8833] Introduce the feature "LP64" to suppress LLP64-incompati...NAKAMURA Takumi1-0/+1
2012-05-15Improve some of the conversion warnings to fire on conversion to bool.David Blaikie1-1/+1
2012-04-05Enable warn_impcast_literal_float_to_integer by default.David Blaikie1-1/+3
2012-02-03Don't warn about anonymous struct/union in C11.Hans Wennborg1-1/+1
2012-01-05The value of a const weak variable is not an integer constant.John McCall1-1/+8
2011-12-29Change the diagnostics which said 'accepted as an extension' to instead sayRichard Smith1-2/+2
2011-09-19Add list initialization for complex numbers in C. Essentially, this allows "...Eli Friedman1-1/+1
2011-02-22Implement the GNU C extension which permits the initialization of anDouglas Gregor1-0/+14
2010-08-14PR3344: Downgrade "too many braces around scalar initializer" to a warning.Eli Friedman1-1/+1
2010-07-29Reword the empty struct/union warning in C to note that such structs and unio...Douglas Gregor1-2/+4
2010-04-09Improve diagnostics like "initializing <type> from an expression ofDouglas Gregor1-7/+7
2010-04-09Improve diagnostics when we fail to convert from a source type to aDouglas Gregor1-7/+7
2009-12-19Initialization improvements: addition of string initialization and a fewEli Friedman1-1/+1
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar1-1/+1
2009-09-09Remove tabs, and whitespace cleanups.Mike Stump1-9/+8
2009-07-22Prep for new warning.Mike Stump1-3/+3
2009-05-29Make sure we don't give the wrong warning, and make sure not to set Eli Friedman1-0/+2
2009-05-16PR3009: Get rid of bogus warning for scalar compound literals.Eli Friedman1-1/+1
2009-03-24Rename clang to clang-cc.Daniel Dunbar1-1/+1
2009-03-20Allow flexible array initializers that are not surrounded byDouglas Gregor1-2/+2
2009-02-18Downgrade the "excess elements in initializer" errors to warnings *inDouglas Gregor1-10/+10
2009-02-04Implement semantic analysis for the GNU flexible array initializationDouglas Gregor1-6/+5
2009-01-30Upgrade the "excess elements in array initializer" warning to anDouglas Gregor1-9/+9
2009-01-28Code generation support for C99 designated initializers.Douglas Gregor1-2/+26
2008-11-1264-bit test fixes.Sebastian Redl1-5/+5
2008-09-01readd test as it passes correctly. nice, but weirdNuno Lopes1-0/+14
2008-09-01Backing out r55607 due to logic errors and test regression.Eli Friedman1-14/+0
2008-09-01fix one more this-is-not-a-constant error. test includedNuno Lopes1-0/+3
2008-09-01make CheckArithmeticConstantExpression() aware of &foo and pointersNuno Lopes1-0/+13
2008-08-18Support initialization of incomplete array with zero size (asDaniel Dunbar1-1/+1
2008-08-10wrap some long diagnostics, make 'initializer is not a constant' diagnosticChris Lattner1-2/+2
2008-05-25Count the number of initializable members correctly in structs/unions Eli Friedman1-0/+6
2008-05-25Diagnose implicit init list for empty aggregate, like struct {}. Fixes Eli Friedman1-0/+4
2008-05-25Move the error checking for variable-sized objects so we don't Eli Friedman1-0/+4
2008-05-19Switch on SemaInit; this makes some code in SemaDecl dead, but I'll give Eli Friedman1-2/+2
2008-04-02Fix PR2017 and silence some bogus errors.Chris Lattner1-3/+2
2008-02-11Fix PR1992 by computing the right type for string literals, whichChris Lattner1-5/+5
2008-01-28Fix a bug with struct initializers (in Sema::CheckInitializerListTypes()). Steve Naroff1-0/+5
2008-01-25Replace Sema::CheckVariableInitList, CheckConstantInitList, and CheckForCharA...Steve Naroff1-4/+41
2008-01-21Sema::CheckInitializerTypes(). Start simpliying and cleaning up...Steve Naroff1-0/+5
2008-01-04add comments for the various AssignConvertType's, and split int->pointer from...Chris Lattner1-3/+3
2008-01-04Merge all the 'assignment' diagnostic code into one routine, decloning Chris Lattner1-3/+3
2007-12-10Add support for initializing char arrays from string literals.Steve Naroff1-0/+25
2007-10-18Fix the following bug...Steve Naroff1-0/+5
2007-10-11rename -parse-ast-print to -ast-printChris Lattner1-1/+1
2007-09-26Removed option "-parse-ast-check" from clang driver. This is now implementedTed Kremenek1-1/+1
2007-09-12Remove a FIXME. Replace a couple asserts with an appropriate errorSteve Naroff1-0/+4