Lines Matching refs:VALID
1 /* Compile-time valid expression checker for GDB, the GNU debugger.
33 is either valid or ill-formed, at compile time, without actually
36 compile time. If the expression is valid, also check whether the
46 VALID is a boolean that indicates whether the expression is
47 supposed to be valid or invalid.
49 EXPR_TYPE is the expected type of EXPR. Only meaningful iff VALID
50 is true. If VALID is false, then you must pass "void" as expected
58 #define CHECK_VALID_EXPR_INT(TYPENAMES, TYPES, VALID, EXPR_TYPE, EXPR) \
67 archetype, TYPES>::value == VALID, \
75 #define CHECK_VALID_EXPR_1(T1, VALID, EXPR_TYPE, EXPR) \
78 VALID, EXPR_TYPE, EXPR)
80 #define CHECK_VALID_EXPR_2(T1, T2, VALID, EXPR_TYPE, EXPR) \
83 VALID, EXPR_TYPE, EXPR)
85 #define CHECK_VALID_EXPR_3(T1, T2, T3, VALID, EXPR_TYPE, EXPR) \
88 VALID, EXPR_TYPE, EXPR)
90 #define CHECK_VALID_EXPR_4(T1, T2, T3, T4, VALID, EXPR_TYPE, EXPR) \
94 VALID, EXPR_TYPE, EXPR)
96 #define CHECK_VALID_EXPR_5(T1, T2, T3, T4, T5, VALID, EXPR_TYPE, EXPR) \
101 VALID, EXPR_TYPE, EXPR)
104 VALID, EXPR_TYPE, EXPR) \
109 VALID, EXPR_TYPE, EXPR)