aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/validation/constexpr-binop.c
AgeCommit message (Collapse)AuthorFilesLines
2017-09-16use shorter name for constexpr testsLuc Van Oostenryck1-1/+1
The name used for these tests, while very correct, are a bit longuish. They generaly take more than one line on the screen which is annoying when running the testsuite. Change this by using shorter names for these tests. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
2017-03-31constexpr: examine constness of binops and alike at evaluation onlyNicolai Stange1-0/+33
Move the whole calculation of binary operations', compare and logical expressions' constness flags to the evaluation phase such that expressions like 0 + __builtin_choose_expr(0, 0, 0) 0 < __builtin_choose_expr(0, 0, 0) 0 && __builtin_choose_expr(0, 0, 0) can now be recognized as qualifying as integer constant expressions. Signed-off-by: Nicolai Stange <nicstange@gmail.com> Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>