]> https://gitweb.dealii.org/ - dealii.git/commitdiff
clang-format: Use QualifierAlignment: Left 15925/head
authorDaniel Arndt <arndtd@ornl.gov>
Thu, 24 Aug 2023 12:42:42 +0000 (08:42 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Thu, 24 Aug 2023 13:02:35 +0000 (09:02 -0400)
.clang-format
cmake/scripts/expand_instantiations.cc
examples/.clang-format

index aa1f77a7e59f55b05e95dd427d0a83428d101d15..265b96679e3579965c4a841e8d42de73ac67b951 100644 (file)
@@ -160,6 +160,8 @@ PointerAlignment: Right
 ReflowComments: true
 CommentPragmas: '( \| |\*--|<li>|@ref | @p |@param |@name |@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)'
 
+QualifierAlignment: Left
+
 SortIncludes: true
 SortUsingDeclarations: true
 
index 6b01f46e2423b2e721ac8da201f2eae1d1c70266..9e4a2f77e32d0a48cedcde555d968b97db703fab 100644 (file)
@@ -241,7 +241,7 @@ delete_empty_entries(const std::list<std::string> &list)
 // determine whether a given substring at position #pos and length #length
 // in the string #text is a real token, i.e. not just part of another word
 bool
-is_real_token(const std::string &          text,
+is_real_token(const std::string           &text,
               const std::string::size_type pos,
               const std::string::size_type length)
 {
@@ -362,7 +362,7 @@ read_expansion_lists(const std::string &filename)
 // produce all combinations of substitutions of the tokens given in the
 // #substitutions list in #text and output it to std::cout
 void
-substitute(const std::string &                                   text,
+substitute(const std::string                                    &text,
            const std::list<std::pair<std::string, std::string>> &substitutions)
 {
   // do things recursively: if the list of substitutions has a single
index 1d3b95af1b7f872c2669afa32df013bd3c436e16..77fb27bec58dc7e29192254f211215209c45620e 100644 (file)
@@ -85,6 +85,8 @@ PenaltyBreakBeforeFirstCallParameter: 90
 
 PointerAlignment: Right
 
+QualifierAlignment: Left
+
 ReflowComments: true
 CommentPragmas: '( \| |\*--|<li>|@ref | @p |@param |@name |@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|@sect1|@sect2|@sect3|@sect4)'
 

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.