Enable more warnings for Clang 6
[alexxy/gromacs.git] / src / gromacs / fileio / gmxfio-xdr.cpp
index a9f4253050f98403c668c79885ec991426c00a3b..84ed0ffb517d551a663a8f0509b11db197df2586 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 1991-2000, University of Groningen, The Netherlands.
  * Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017,2018, 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.
@@ -92,6 +92,7 @@ static void gmx_fio_check_nitem(int eio, int nitem, const char *file, int line)
 }
 
 /* output a data type error. */
+[[ noreturn ]]
 static void gmx_fio_fe(t_fileio *fio, int eio, const char *desc,
                        const char *srcfile, int line)
 {