From 4a9ccf27b4554ffffa15457b37911bd204905022 Mon Sep 17 00:00:00 2001 From: David Capello Date: Thu, 12 Dec 2024 19:42:21 -0300 Subject: [PATCH] [clang-format] Set ReflowComments=1 to allow adjusting comments Allows to format the code in better ways adjusting the comments to fit the column limit. In few cases the comment will require to be moved to other place (e.g. at the top of a statement rather than to the side of it). --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index ce34d3aef..c5facee6d 100644 --- a/.clang-format +++ b/.clang-format @@ -168,7 +168,7 @@ PointerAlignment: Left PPIndentWidth: -1 QualifierAlignment: Leave ReferenceAlignment: Pointer -ReflowComments: false +ReflowComments: true RemoveBracesLLVM: false RemoveParentheses: Leave RemoveSemicolon: false