From: David Wells Date: Sun, 8 Apr 2018 21:35:16 +0000 (-0400) Subject: Add some comments clarifying preprocessor blocks. X-Git-Tag: v9.0.0-rc1~174^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9dd47c1b0b65f7f31592c45e064aabc592c92af;p=dealii.git Add some comments clarifying preprocessor blocks. --- diff --git a/include/deal.II/base/exceptions.h b/include/deal.II/base/exceptions.h index 3ded03444e..55f4c0dfb7 100644 --- a/include/deal.II/base/exceptions.h +++ b/include/deal.II/base/exceptions.h @@ -1117,7 +1117,7 @@ namespace deal_II_exceptions ::dealii::deal_II_exceptions::internals::abort_on_exception, \ __FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \ } -# else +# else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/ # define Assert(cond, exc) \ { \ if (!(cond)) \ @@ -1125,7 +1125,7 @@ namespace deal_II_exceptions ::dealii::deal_II_exceptions::internals::abort_on_exception, \ __FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \ } -# endif +# endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/ #else #define Assert(cond, exc) \ {} @@ -1157,7 +1157,7 @@ namespace deal_II_exceptions ::dealii::deal_II_exceptions::internals::abort_nothrow_on_exception, \ __FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \ } -# else +# else /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/ # define AssertNothrow(cond, exc) \ { \ if (!(cond)) \ @@ -1165,7 +1165,7 @@ namespace deal_II_exceptions ::dealii::deal_II_exceptions::internals::abort_nothrow_on_exception, \ __FILE__, __LINE__, __PRETTY_FUNCTION__, #cond, #exc, exc); \ } -# endif +# endif /*ifdef DEAL_II_HAVE_BUILTIN_EXPECT*/ #else #define AssertNothrow(cond, exc) \ {}