summaryrefslogtreecommitdiff
path: root/clang/test/Sema/const-eval.c
AgeCommit message (Expand)Author
2025-10-02[Clang][Sema] Switch diagnostics from toString to operator<< for APSInt/APInt...Samarth Narang
2025-07-19[Clang] Be less strict about diagnosing null pointer dereference. (#149648)Corentin Jabot
2025-07-16[Clang] Diagnose forming references to nullptr (#143667)Corentin Jabot
2024-03-18[clang][ExprConst] Can't be past an invalid LValue designator (#84293)Timm Baeder
2023-08-28[clang] Remove rdar links; NFCAaron Ballman
2023-07-17Revert "Remove rdar links; NFC"Mehdi Amini
2023-07-07Remove rdar links; NFCAaron Ballman
2022-12-12Add missing check for constant evaluation of a comparison of a pointerRichard Smith
2022-02-04Use functions with prototypes when appropriate; NFCAaron Ballman
2021-10-15[AIX] Enable int128 in 64 bit modeJinsong Ji
2021-09-28Diagnose -Wunused-value based on CFG reachabilityYuanfang Chen
2021-09-23Revert "Diagnose -Wunused-value based on CFG reachability"Yuanfang Chen
2021-09-22Diagnose -Wunused-value based on CFG reachabilityYuanfang Chen
2021-09-21Revert "Diagnose -Wunused-value based on CFG reachability"Aaron Ballman
2021-09-20Diagnose -Wunused-value based on CFG reachabilityYuanfang Chen
2021-06-11[Sema] Address-space sensitive check for unbounded arrays (v2)eahcmrh
2021-06-11Revert "[Sema] Address-space sensitive check for unbounded arrays (v2)"eahcmrh
2021-06-11[Sema] Address-space sensitive check for unbounded arrays (v2)eahcmrh
2020-10-16PR44406: Follow behavior of array bound constant folding in more recent versi...Richard Smith
2020-09-29Revert "[Sema] Address-space sensitive check for unbounded arrays (v2)"Chris Hamilton
2020-09-29[Sema] Address-space sensitive check for unbounded arrays (v2)Chris Hamilton
2020-09-15Revert "[Sema] Address-space sensitive index check for unbounded arrays"Chris Hamilton
2020-09-14[Sema] Address-space sensitive index check for unbounded arraysChris Hamilton
2020-02-16[Sema] Adds the pointer-to-int-cast diagnosticMark de Wever
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