File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1941,10 +1941,13 @@ namespace xt
19411941// G++ 8 C++ library does define it as a struct hence we get
19421942// clang warnings here
19431943
1944+ // Do not remove space between "#" and "pragma". This is required for CRAN checks.
1945+ // clang-format off
19441946#if defined(__clang__)
1945- # pragma clang diagnostic push
1946- # pragma clang diagnostic ignored "-Wmismatched-tags"
1947+ # pragma clang diagnostic push
1948+ # pragma clang diagnostic ignored "-Wmismatched-tags"
19471949#endif
1950+ // clang-format on
19481951
19491952namespace std
19501953{
@@ -1969,9 +1972,12 @@ namespace std
19691972 class tuple_size <xt::sequence_view<T, Start, -1 >>;
19701973}
19711974
1975+ // Do not remove space between "#" and "pragma". This is required for CRAN checks.
1976+ // clang-format off
19721977#if defined(__clang__)
1973- # pragma clang diagnostic pop
1978+ # pragma clang diagnostic pop
19741979#endif
1980+ // clang-format on
19751981
19761982#undef XTENSOR_CONST
19771983
You can’t perform that action at this time.
0 commit comments