aboutsummaryrefslogtreecommitdiff
path: root/lib/ubsan.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:40:53 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-05-23 20:41:08 +0300
commitb096078c282af7233062ba242a213e6f5574cfb1 (patch)
tree56f08b2898d4721255c8a91caa7b1978488959c6 /lib/ubsan.c
parent20d9959b74fdfba26250579f8a75374042bfaaaf (diff)
downloadkmi-b096078c282af7233062ba242a213e6f5574cfb1.tar.gz
kmi-b096078c282af7233062ba242a213e6f5574cfb1.zip
switch from clang-format to uncrustify
The output is close enough, and I like that uncrustify is a third-party tool, so people can install a single tool for formatting instead of having to lug around a whole toolchain. I fully expect to have to add settings to uncrustify.conf, but let's see how this goes.
Diffstat (limited to 'lib/ubsan.c')
-rw-r--r--lib/ubsan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ubsan.c b/lib/ubsan.c
index 8b103df..0d92fb7 100644
--- a/lib/ubsan.c
+++ b/lib/ubsan.c
@@ -109,7 +109,8 @@ void __ubsan_handle_pointer_overflow(struct tu_overflow_data *data)
tu_print_location("pointer overflow", data->location);
}
-void __ubsan_handle_shift_out_of_bounds(struct tu_shift_out_of_bounds_data *data)
+void __ubsan_handle_shift_out_of_bounds(
+ struct tu_shift_out_of_bounds_data *data)
{
tu_print_location("shift out of bounds", data->location);
}