]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Bugfix: list *all* doxygen formatting options as comment pragmas
authorMatthias Maier <tamiko@43-1.org>
Wed, 13 Jun 2018 19:14:10 +0000 (14:14 -0500)
committerMatthias Maier <tamiko@43-1.org>
Thu, 14 Jun 2018 19:08:08 +0000 (14:08 -0500)
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

index ca45b6a77cc8d4911f19fe50b068d67e89d11e98..d744d74daa0929d40446d03565710f19a0ee549d 100644 (file)
@@ -145,7 +145,7 @@ PenaltyBreakBeforeFirstCallParameter: 90
 PointerAlignment: Right
 
 ReflowComments: true
-CommentPragmas: '@(ref|p|copydoc) '
+CommentPragmas: '( \| |\*--|<li>|@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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.