summaryrefslogtreecommitdiff
path: root/test/CodeGen/const-init.c
AgeCommit message (Expand)Author
2018-05-21Revert r332847; it caused us to miscompile certain forms of reference initial...Richard Smith
2018-05-21[CodeGen] Recognize more cases of zero initializationSerge Pavlov
2016-06-17[CodeGen] Use pointer-sized integers for ptrtoint sourcesDavid Majnemer
2015-03-13Test case updates for explicit type parameter to the gep operatorDavid Blaikie
2014-10-19CodeGen: ConstStructBuilder must verify packed constraints after paddingDavid Majnemer
2014-10-19Revert r220153: "CodeGen: ConstStructBuilder must verify packed constraints a...Chandler Carruth
2014-10-19CodeGen: ConstStructBuilder must verify packed constraints after paddingDavid Majnemer
2013-07-04Add missing expected-warning.Rafael Espindola
2012-08-20Fix InitListExpr::isStringLiteralInit so it handles various edge cases correc...Eli Friedman
2011-12-22Add support for bitcasts to vector type in Evaluate.Eli Friedman
2011-07-12fix an unintended behavior change in the type system rewrite, which caused us...Chris Lattner
2011-07-09clang side to match the LLVM IR type system rewrite patch.Chris Lattner
2011-06-20Update to match mainline ConstantStruct::get API change. Also, use Chris Lattner
2011-03-02Only emit string initializers in-place if types match. Fixes PR9373.Benjamin Kramer
2011-01-10Add unnamed_addr when creating artificial string globals. For example, inRafael Espindola
2010-09-03A constant initializer never matches the type of the variable it'sJohn McCall
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-11-22Use intptr_t from stdint.h (in freestanding mode) instead of redefining it hereKen Dyck
2009-11-14Make __func__ and friends work correctly within the initializer for a staticEli Friedman
2009-11-13Obvious fix for PR5474.Eli Friedman
2009-10-15Removed math.h include, as Windows math.h has a compile error.John Thompson
2009-10-08In VC++, the *printf functions put an extra "0" in the exponent partMike Stump
2009-10-02FileCheckize test case.Benjamin Kramer
2009-10-02Don't update the struct alignment when adding fields to a packed struct. Fixe...Anders Carlsson
2009-10-02When building constant structs, check if the resulting LLVM struct will be bi...Anders Carlsson
2009-09-11Update this test to expect the "inbounds" keyword, which LLVM's constantDan Gohman
2009-07-27Enable the new struct type builder now that the constant struct builder works...Anders Carlsson
2009-07-27Enable the new constant struct builder by default. The old code is still in p...Anders Carlsson
2009-05-19Remove the -arch option from clang-cc: for all practical purposes, it's Eli Friedman
2009-04-30Fix for PR4108: be a bit looser with the casts that we accept in Eli Friedman
2009-03-28Move where block-related variables are initialized so that block Eli Friedman
2009-03-24Rename clang to clang-cc.Daniel Dunbar
2009-03-01adjust to changes in the mainline llvm .ll printer.Chris Lattner
2009-02-25Allow constant initializers to reference their defining decl.Daniel Dunbar
2009-02-25Remove a FIXME; I was mistaken in believing gcc rejected this.Daniel Dunbar
2009-02-24Fix IRgen of constant expressions referring to external/staticDaniel Dunbar
2009-02-22Cleanp code with some recent suggestions.Mike Stump
2009-02-21Force arch for these test cases.Daniel Dunbar
2009-02-20Handle constant int -> ptr casts of lvalue results.Daniel Dunbar
2009-02-19Extend Evaluate() to fold (int) <pointer type>.Daniel Dunbar
2009-01-29Evaluate ==,!= for complex types.Daniel Dunbar
2009-01-28Implement basic _Complex integer constant folding.Daniel Dunbar
2008-11-22Add test for PR2992.Anders Carlsson
2008-08-05Fix const-init test caseDaniel Dunbar
2008-05-29Add codegen support for a few more kinds of initializer constant Eli Friedman
2008-02-21Some const initializer tests for stuff I just committed.Eli Friedman