Lines Matching defs:try_static_assert
624 def try_static_assert(expr, headers = nil, opt = "", &b)
635 neg = try_static_assert("#{const} < 0", headers, opt)
639 elsif try_static_assert("#{const} > 0", headers, opt)
641 elsif try_static_assert("#{const} == 0", headers, opt)
649 until try_static_assert("#{const} <= #{upper}", headers, opt)
656 if try_static_assert("#{const} > #{mid}", headers, opt)
1259 if try_static_assert("(#{type})-1 < 0", headers, opts)
1261 elsif try_static_assert("(#{type})-1 > 0", headers, opts)
1353 try_static_assert("sizeof(rbcv_var.#{member}) == sizeof(#{t})", [prelude], opts, &b)
1453 if try_static_assert("sizeof(*#{var}) == 1", prelude)
1458 unless member and !typeof or try_static_assert("(#{type})-1 < 0", prelude)
1471 try_static_assert("sizeof(#{ptr}#{val}) == sizeof(#{unsigned} #{t})", pre)