summaryrefslogtreecommitdiff
path: root/test/Sema/const-eval.c
AgeCommit message (Expand)Author
2017-11-15PR35214: don't crash if we see an array of unknown bound added to an empty bu...Richard Smith
2017-01-31Improve fix for PR28739Richard Smith
2017-01-30PR28739: Check that integer values fit into 64 bits before extracting them as...Richard Smith
2015-12-08Explicitly permit undefined behavior in constant initializers for globalRichard Smith
2015-12-03PR17381: Treat undefined behavior during expression evaluation as an unmodeledRichard Smith
2015-08-29[AST] Don't crash when comparing incomplete objectDavid Majnemer
2015-08-19Make __builtin_object_size always answer correctlyGeorge Burgess IV
2015-08-18Revert r245323, it caused PR24493.Nico Weber
2015-08-18Make __builtin_object_size always answer correctlyGeorge Burgess IV
2015-06-01Fix PR21945: Crash in constant evaluator.Jonathan Roelofs
2014-02-26PR16074, implement warnings to catch pointer to boolean true and pointer toRichard Trieu
2012-07-17Don't treat overflow in floating-point conversions as a hard error in constan...Eli Friedman
2012-04-16Per Richard's comments on r154794, add the checks necessary to handle constan...Eli Friedman
2012-04-16Make constant evaluation for pointer comparisons work correctly for some unco...Eli Friedman
2012-04-11Add test for a construct we currently reject, constant-evaluating a load from...Eli Friedman
2012-02-21Fix a crash in the diangostic code in EvalConstant. PR12043.Eli Friedman
2012-01-26constexpr: evaluate (bool)&x as true when x is a local variable or a temporary.Richard Smith
2011-12-07When folding the size of a global scope VLA to a constant, require the arrayRichard Smith
2011-11-16PR11391: Don't try to evaluate the LHS of a _Complex assignment as an rvalue.Richard Smith
2011-11-16Fix PR11385: A pointer constant expression which has been cast via an integer isRichard Smith
2011-11-12Add missing casts to AST.Eli Friedman
2011-11-04Constant expression evaluation: although we don't know whether a literal willRichard Smith
2011-11-01When constant-folding, don't look at the initializer of a global const variableRichard Smith
2011-10-31Refactoring and test for r143360. Support for array rvalue to pointer decay isRichard Smith
2011-10-30Fix assert on constant expression evaluation of floating point increment.Richard Smith
2011-10-29Don't crash if a GCC binary conditional is used in a constant expression on anRichard Smith
2011-10-28Fix assertion in constant expression evaluation. The LHS of a floating-pointRichard Smith
2011-06-14when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be ...Chris Lattner
2011-03-07Fix tests to account for new warning "expected ';' at end of declaration list...Carl Norum
2011-01-18Properly do a float -> _Complex double conversion, fixes rdar://8875946.Argyrios Kyrtzidis
2010-10-12fix PR7885, rejecting invalid uses of __builtin_constant_p.Chris Lattner
2010-08-14PR7884: Fix the implementations of __real__ and __imag__ on real floats.Eli Friedman
2010-07-15Make the "unused result" warning a warning about run-time behavior, soDouglas Gregor
2010-06-30Fix rdar://8139785 "implement warning on dead expression in comma operator"Argyrios Kyrtzidis
2010-02-13Fix for PR6274: teach constant folding to evaluate __builtin_expect.Eli Friedman
2009-12-15Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar
2009-11-16Add constant evaluation for comma operator with floating-point operand. FixesEli Friedman
2009-11-05Make ASTContext::getIntWidth return 1 for all boolean type variations, not ju...Sebastian Redl
2009-06-14PR4351: Add constant evaluation for constructs like "foo == NULL", where Eli Friedman
2009-06-04PR4326: Handle constant evaluation for void* pointer subtraction Eli Friedman
2009-04-28PR4097: add logic to Evaluate to handle pointer equality comparisons.Eli Friedman
2009-04-22Add handling for complex->int, int->complex float, and float->complex Eli Friedman
2009-04-21Fix PR4027 + rdar://6808859, we were rejecting implicit casts ofChris Lattner
2009-03-24Rename clang to clang-cc.Daniel Dunbar
2009-03-23Minor enhancements to Evaluate.Eli Friedman
2009-02-28Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable w...Anders Carlsson
2009-02-28Fix obvious shortcoming in the implementations of Evaluate for Eli Friedman
2009-02-21Evaluation of unary deref could call integer evaluator on non-integralDaniel Dunbar
2009-02-20Add support for * (unary dereference) operator to ExprConstant.Eli Friedman
2009-02-19Emit the correct diagnostics when we constant fold an array size to a negativ...Anders Carlsson