Searched refs:EVAL_EXPR (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/clang/test/Sema/ |
| H A D | const-eval.c | 6 EVAL_EXPR(1, (_Bool)&x) 7 EVAL_EXPR(2, (int)(1.0+(double)4)) 8 EVAL_EXPR(3, (int)(1.0+(float)4.0)) 10 EVAL_EXPR(5, (_Bool)(int[]){0}) 14 EVAL_EXPR(8, (_Bool)"asdf") 15 EVAL_EXPR(9, !!&x) 16 EVAL_EXPR(10, ((void)1, 12)) 19 EVAL_EXPR(12, 1.0&&2.0) 28 EVAL_EXPR(15, (_Bool)&a); in f() 75 EVAL_EXPR(35, constbool) [all …]
|
| H A D | const-eval-64.c | 3 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];}); macro 6 EVAL_EXPR(1, ((char*)-1LL) + 1 == 0 ? 1 : -1) // expected-warning {{folded}} 7 EVAL_EXPR(2, ((char*)-1LL) + 1 < (char*) -1 ? 1 : -1) // expected-warning {{folded}}
|