From fc8aee04617c09666c6755d44388315626252f06 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Wed, 13 Jun 2018 14:14:10 -0500 Subject: [PATCH] Bugfix: list *all* doxygen formatting options as comment pragmas This way clang-format will keep any comment line that contains such a symbol untouched. Otherwise we are garbling up way too many doxygen pragmas... --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.clang-format b/.clang-format index ca45b6a77c..d744d74daa 100644 --- a/.clang-format +++ b/.clang-format @@ -145,7 +145,7 @@ PenaltyBreakBeforeFirstCallParameter: 90 PointerAlignment: Right ReflowComments: true -CommentPragmas: '@(ref|p|copydoc) ' +CommentPragmas: '( \| |\*--|
  • |@ref | @p | @param |@returns |@warning |@ingroup |@author |@date |@related |@relates |@relatesalso |@deprecated |@image |@return |@brief |@attention |@copydoc |@addtogroup |@todo |@tparam |@see |@note |@skip |@skipline |@until |@line |@dontinclude |@include)' SortIncludes: true SortUsingDeclarations: true -- 2.39.5