From bae9bc4eb8909df48c8aff10862718dfb7367349 Mon Sep 17 00:00:00 2001 From: Edward Nolan Date: Sat, 25 Apr 2026 18:23:31 -0400 Subject: [PATCH] Bump clang-format version in paper code generator to 22 --- papers/generator/.clang-format | 2 +- papers/generator/generator.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/papers/generator/.clang-format b/papers/generator/.clang-format index a1de1c4..5c4f655 100644 --- a/papers/generator/.clang-format +++ b/papers/generator/.clang-format @@ -4,7 +4,7 @@ AlwaysBreakTemplateDeclarations: Yes AlignAfterOpenBracket: Align AllowShortFunctionsOnASingleLine: All BreakConstructorInitializers: AfterColon -Cpp11BracedListStyle: True +Cpp11BracedListStyle: FunctionCall SpaceBeforeCpp11BracedList: False BreakBeforeBraces: Attach AllowShortEnumsOnASingleLine: False diff --git a/papers/generator/generator.sh b/papers/generator/generator.sh index 8b27943..e38b375 100755 --- a/papers/generator/generator.sh +++ b/papers/generator/generator.sh @@ -11,7 +11,7 @@ function process_file() { local build_dir="$1" ; shift cp $generator_script_dir/../../$file $build_dir local file_copy=$build_dir/${file##*/} - clang-format-21 -i -style=file $file_copy + clang-format-22 -i -style=file $file_copy $generator_script_dir/post_clang_format.py $file_copy > ${file_copy}.md rm $file_copy }