summaryrefslogtreecommitdiff
path: root/test/Sema/const-eval.c
Commit message (Expand)AuthorAgeFilesLines
* PR35214: don't crash if we see an array of unknown bound added to an empty bu...Richard Smith2017-11-151-0/+8
* Improve fix for PR28739Richard Smith2017-01-311-11/+6
* PR28739: Check that integer values fit into 64 bits before extracting them as...Richard Smith2017-01-301-2/+14
* Explicitly permit undefined behavior in constant initializers for globalRichard Smith2015-12-081-1/+1
* PR17381: Treat undefined behavior during expression evaluation as an unmodeledRichard Smith2015-12-031-1/+1
* [AST] Don't crash when comparing incomplete objectDavid Majnemer2015-08-291-0/+4
* Make __builtin_object_size always answer correctlyGeorge Burgess IV2015-08-191-4/+0
* Revert r245323, it caused PR24493.Nico Weber2015-08-181-0/+4
* Make __builtin_object_size always answer correctlyGeorge Burgess IV2015-08-181-4/+0
* Fix PR21945: Crash in constant evaluator.Jonathan Roelofs2015-06-011-0/+3
* PR16074, implement warnings to catch pointer to boolean true and pointer toRichard Trieu2014-02-261-1/+1
* Don't treat overflow in floating-point conversions as a hard error in constan...Eli Friedman2012-07-171-0/+3
* Per Richard's comments on r154794, add the checks necessary to handle constan...Eli Friedman2012-04-161-0/+6
* Make constant evaluation for pointer comparisons work correctly for some unco...Eli Friedman2012-04-161-0/+4
* Add test for a construct we currently reject, constant-evaluating a load from...Eli Friedman2012-04-111-0/+4
* Fix a crash in the diangostic code in EvalConstant. PR12043.Eli Friedman2012-02-211-0/+5
* constexpr: evaluate (bool)&x as true when x is a local variable or a temporary.Richard Smith2012-01-261-1/+1
* When folding the size of a global scope VLA to a constant, require the arrayRichard Smith2011-12-071-2/+2
* PR11391: Don't try to evaluate the LHS of a _Complex assignment as an rvalue.Richard Smith2011-11-161-0/+4
* Fix PR11385: A pointer constant expression which has been cast via an integer isRichard Smith2011-11-161-1/+4
* Add missing casts to AST.Eli Friedman2011-11-121-0/+3
* Constant expression evaluation: although we don't know whether a literal willRichard Smith2011-11-041-0/+3
* When constant-folding, don't look at the initializer of a global const variableRichard Smith2011-11-011-0/+4
* Refactoring and test for r143360. Support for array rvalue to pointer decay isRichard Smith2011-10-311-0/+3
* Fix assert on constant expression evaluation of floating point increment.Richard Smith2011-10-301-0/+1
* Don't crash if a GCC binary conditional is used in a constant expression on anRichard Smith2011-10-291-0/+3
* Fix assertion in constant expression evaluation. The LHS of a floating-pointRichard Smith2011-10-281-0/+2
* when compiling in a GNU mode (e.g. gnu99) treat VLAs with a size that can be ...Chris Lattner2011-06-141-1/+1
* Fix tests to account for new warning "expected ';' at end of declaration list...Carl Norum2011-03-071-1/+1
* Properly do a float -> _Complex double conversion, fixes rdar://8875946.Argyrios Kyrtzidis2011-01-181-0/+6
* fix PR7885, rejecting invalid uses of __builtin_constant_p.Chris Lattner2010-10-121-1/+1
* PR7884: Fix the implementations of __real__ and __imag__ on real floats.Eli Friedman2010-08-141-2/+6
* Make the "unused result" warning a warning about run-time behavior, soDouglas Gregor2010-07-151-1/+1
* Fix rdar://8139785 "implement warning on dead expression in comma operator"Argyrios Kyrtzidis2010-06-301-1/+1
* Fix for PR6274: teach constant folding to evaluate __builtin_expect.Eli Friedman2010-02-131-0/+1
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
* Add constant evaluation for comma operator with floating-point operand. FixesEli Friedman2009-11-161-0/+2
* Make ASTContext::getIntWidth return 1 for all boolean type variations, not ju...Sebastian Redl2009-11-051-0/+5
* PR4351: Add constant evaluation for constructs like "foo == NULL", where Eli Friedman2009-06-141-0/+2
* PR4326: Handle constant evaluation for void* pointer subtraction Eli Friedman2009-06-041-0/+1
* PR4097: add logic to Evaluate to handle pointer equality comparisons.Eli Friedman2009-04-281-0/+2
* Add handling for complex->int, int->complex float, and float->complex Eli Friedman2009-04-221-0/+2
* Fix PR4027 + rdar://6808859, we were rejecting implicit casts ofChris Lattner2009-04-211-0/+6
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
* Minor enhancements to Evaluate.Eli Friedman2009-03-231-0/+5
* Fix invalid VLAs/VMs in Sema::ActOnVariableDeclarator, so that the variable w...Anders Carlsson2009-02-281-0/+3
* Fix obvious shortcoming in the implementations of Evaluate for Eli Friedman2009-02-281-0/+5
* Evaluation of unary deref could call integer evaluator on non-integralDaniel Dunbar2009-02-211-0/+2
* Add support for * (unary dereference) operator to ExprConstant.Eli Friedman2009-02-201-0/+2
* Emit the correct diagnostics when we constant fold an array size to a negativ...Anders Carlsson2009-02-191-0/+4