From 509469aa5b2921dffd4d15b4c0b8844f9359b038 Mon Sep 17 00:00:00 2001 From: Sven van Haastregt Date: Fri, 24 Feb 2023 15:44:59 +0000 Subject: [PATCH] [NFC] Fix multi-line comment warnings (#1641) Disabling of frem and fmod by b81b49e1 ("spirv: disable frem and fmod tests for now (#1614)", 2023-02-07) introduced some new warnings about multi-line `//` comments due to the trailing backslashes. Fix these. Also fix a typo. Signed-off-by: Sven van Haastregt --- test_conformance/spirv_new/test_op_fmath.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/test_conformance/spirv_new/test_op_fmath.cpp b/test_conformance/spirv_new/test_op_fmath.cpp index 853bab38..3cf01837 100644 --- a/test_conformance/spirv_new/test_op_fmath.cpp +++ b/test_conformance/spirv_new/test_op_fmath.cpp @@ -178,9 +178,10 @@ int test_fmath(cl_device_id deviceID, TEST_FMATH_FUNC(TYPE, fsub, MODE) \ TEST_FMATH_FUNC(TYPE, fmul, MODE) \ TEST_FMATH_FUNC(TYPE, fdiv, MODE) \ -// disable those tests until we figure out what the precision requierements are -// TEST_FMATH_FUNC(TYPE, frem, MODE) \ -// TEST_FMATH_FUNC(TYPE, fmod, MODE) \ + // disable those tests until we figure out what the precision requirements + // are + // TEST_FMATH_FUNC(TYPE, frem, MODE) + // TEST_FMATH_FUNC(TYPE, fmod, MODE) #define TEST_FMATH_TYPE(TYPE) \ TEST_FMATH_MODE(TYPE, regular) \