Fix clang-tidy warnings in the OpenCL build
[alexxy/gromacs.git] / src / gromacs / nbnxm / gpu_common.h
index fc5977c7c38d9f88e08877a791a46d399863719a..151dc4b3ff6fac2ef608762e41d153fec89b8443 100644 (file)
@@ -124,10 +124,10 @@ gpuAtomToInteractionLocality(const AtomLocality atomLocality)
 }
 
 
-void
-setupGpuShortRangeWork(gmx_nbnxn_gpu_t                  *nb,
-                       const gmx::GpuBonded             *gpuBonded,
-                       const Nbnxm::InteractionLocality  iLocality)
+//NOLINTNEXTLINE(misc-definitions-in-headers)
+void setupGpuShortRangeWork(gmx_nbnxn_gpu_t                  *nb,
+                            const gmx::GpuBonded             *gpuBonded,
+                            const Nbnxm::InteractionLocality  iLocality)
 {
     GMX_ASSERT(nb, "Need a valid nbnxn_gpu object");
 
@@ -155,9 +155,9 @@ haveGpuShortRangeWork(const gmx_nbnxn_gpu_t            &nb,
     return nb.haveWork[iLocality];
 }
 
-bool
-haveGpuShortRangeWork(const gmx_nbnxn_gpu_t     *nb,
-                      const Nbnxm::AtomLocality  aLocality)
+//NOLINTNEXTLINE(misc-definitions-in-headers)
+bool haveGpuShortRangeWork(const gmx_nbnxn_gpu_t     *nb,
+                           const Nbnxm::AtomLocality  aLocality)
 {
     GMX_ASSERT(nb, "Need a valid nbnxn_gpu object");