diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-28 02:41:07 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-28 02:41:28 +0300 |
commit | 72a7f107d84293ceeef92e54362127446dddc9df (patch) | |
tree | b4284a3f7265665299b2ac9b2a97fc52d787bf74 | |
parent | 6f9b84c5ce34b7e0e40f8da1f35ef3dd2397e218 (diff) |
Cleanup: format
-rw-r--r-- | intern/cycles/device/metal/kernel.mm | 4 | ||||
-rw-r--r-- | source/blender/blenlib/tests/BLI_string_utf8_test.cc | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/intern/cycles/device/metal/kernel.mm b/intern/cycles/device/metal/kernel.mm index 172c456f0c0..5e0cb6d18f4 100644 --- a/intern/cycles/device/metal/kernel.mm +++ b/intern/cycles/device/metal/kernel.mm @@ -328,8 +328,8 @@ bool MetalKernelPipeline::should_use_binary_archive() const return true; } - /* The remaining kernels are all fast to compile. They may get cached by the system shader cache, - * but will be quick to regenerate if not. */ + /* The remaining kernels are all fast to compile. They may get cached by the system shader + * cache, but will be quick to regenerate if not. */ } return false; } diff --git a/source/blender/blenlib/tests/BLI_string_utf8_test.cc b/source/blender/blenlib/tests/BLI_string_utf8_test.cc index f0c34350e1b..d66bade40ed 100644 --- a/source/blender/blenlib/tests/BLI_string_utf8_test.cc +++ b/source/blender/blenlib/tests/BLI_string_utf8_test.cc @@ -439,7 +439,6 @@ TEST(string, StrCursorStepNextUtf32Simple) EXPECT_FALSE(BLI_str_cursor_step_next_utf32(simple, len, &pos)); } - /* -------------------------------------------------------------------- */ /** \name Test #BLI_str_cursor_step_next_utf32_allcombining * \{ */ @@ -857,7 +856,7 @@ TEST(string, StrCursorStepPrevUtf8Invalid) const size_t len = 8; int pos = 8; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); - pos= 7; + pos = 7; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); pos = 6; EXPECT_TRUE(BLI_str_cursor_step_prev_utf8(invalid, len, &pos) && pos == 5); |