Apply clang-format to source tree
[alexxy/gromacs.git] / src / gromacs / utility / current_function.h
index 1408a33b87b422519b18e0df2d7b33fd5d598b3c..1f18cab6ffce9d542ae887075677ca3556e24bfc 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2015, by the GROMACS development team, led by
+ * Copyright (c) 2015,2019, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -72,36 +72,37 @@ namespace internal
 inline void current_function_helper()
 {
 
-#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
+#if defined(__GNUC__) || (defined(__MWERKS__) && (__MWERKS__ >= 0x3000)) \
+        || (defined(__ICC) && (__ICC >= 600)) || defined(__ghs__)
 
-# define GMX_CURRENT_FUNCTION __PRETTY_FUNCTION__
+#    define GMX_CURRENT_FUNCTION __PRETTY_FUNCTION__
 
 #elif defined(__DMC__) && (__DMC__ >= 0x810)
 
-# define GMX_CURRENT_FUNCTION __PRETTY_FUNCTION__
+#    define GMX_CURRENT_FUNCTION __PRETTY_FUNCTION__
 
 #elif defined(__FUNCSIG__)
 
-# define GMX_CURRENT_FUNCTION __FUNCSIG__
+#    define GMX_CURRENT_FUNCTION __FUNCSIG__
 
-#elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) || (defined(__IBMCPP__) && (__IBMCPP__ >= 500))
+#elif (defined(__INTEL_COMPILER) && (__INTEL_COMPILER >= 600)) \
+        || (defined(__IBMCPP__) && (__IBMCPP__ >= 500))
 
-# define GMX_CURRENT_FUNCTION __FUNCTION__
+#    define GMX_CURRENT_FUNCTION __FUNCTION__
 
 #elif defined(__BORLANDC__) && (__BORLANDC__ >= 0x550)
 
-# define GMX_CURRENT_FUNCTION __FUNC__
+#    define GMX_CURRENT_FUNCTION __FUNC__
 
 #elif defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)
 
-# define GMX_CURRENT_FUNCTION __func__
+#    define GMX_CURRENT_FUNCTION __func__
 
 #else
 
-# define GMX_CURRENT_FUNCTION "(unknown)"
+#    define GMX_CURRENT_FUNCTION "(unknown)"
 
 #endif
-
 }
 
 } // namespace internal