[Bf-blender-cvs] [72a7f107d84] master: Cleanup: format
Campbell Barton
noreply at git.blender.org
Wed Sep 28 01:42:46 CEST 2022
Commit: 72a7f107d84293ceeef92e54362127446dddc9df
Author: Campbell Barton
Date: Wed Sep 28 09:41:07 2022 +1000
Branches: master
https://developer.blender.org/rB72a7f107d84293ceeef92e54362127446dddc9df
Cleanup: format
===================================================================
M intern/cycles/device/metal/kernel.mm
M source/blender/blenlib/tests/BLI_string_utf8_test.cc
===================================================================
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);
More information about the Bf-blender-cvs
mailing list