We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
RBIMPL_ASSERT_OR_ASSUME
RUBY_ASSERT_ALWAYS
1 parent b182f2a commit b834c62Copy full SHA for b834c62
include/ruby/assert.h
@@ -298,7 +298,7 @@ RBIMPL_WARNING_IGNORED(-Wgnu-zero-variadic-macro-arguments)
298
* @copydetails #RUBY_ASSERT
299
*/
300
#if RUBY_DEBUG
301
-# define RBIMPL_ASSERT_OR_ASSUME(expr) RUBY_ASSERT_ALWAYS(expr)
+# define RBIMPL_ASSERT_OR_ASSUME RUBY_ASSERT_ALWAYS
302
#elif RBIMPL_COMPILER_BEFORE(Clang, 7, 0, 0)
303
# /* See commit 67d259c5dccd31fe49d417fec169977712ffdf10 */
304
# define RBIMPL_ASSERT_OR_ASSUME(expr) RBIMPL_ASSERT_NOTHING
0 commit comments