pybind11/include/pybind11
Ralf W. Grosse-Kunstleve 4c7e509fa4
PYBIND11_NOINLINE-related cleanup. (#3179)
* Removing pragma for GCC -Wattributes, fixing forward declarations.

* Introducing PYBIND11_NOINLINE_FWD to deal with CUDA, GCC7, GCC8.

* Updating PYBIND11_NOINLINE_DCL in Doxyfile.

* Trying noinline, noinline for {CUDA, GCC7, GCC8}

* Trying noinline, inline for {CUDA, GCC7, GCC8}

* Adding GCC -Wattributes `pragma` in 3 header files.

* Introducing PYBIND11_NOINLINE_GCC_PRAGMA_ATTRIBUTES_NEEDED, used in 9 header files.

* Removing ICC pragma 2196, to see if it is still needed.

* Trying noinline, noinline for ICC

* Trying noinline, inline for ICC

* Restoring ICC pragma 2196, introducing PYBIND11_NOINLINE_FORCED, defined for testing.

* Removing code accidentally left in (was for experimentation only).

* Removing one-time-test define.

* Removing PYBIND11_NOINLINE_FWD macro (after learning that it makes no sense).

* Testing with PYBIND11_NOINLINE_DISABLED. Minor non-functional enhancements.

* Removing #define PYBIND11_NOINLINE_DISABLED (test was successful).

* Removing PYBIND11_NOINLINE_FORCED and enhancing comments for PYBIND11_NOINLINE.

* WIP stripping back

* Making -Wattributes pragma in pybind11 specific to GCC7, GCC8, CUDA.
2021-08-09 10:10:38 -07:00
..
detail PYBIND11_NOINLINE-related cleanup. (#3179) 2021-08-09 10:10:38 -07:00
stl maint(clang-tidy): Improve code readability with explicit boolean casts (#3148) 2021-07-27 15:32:26 -07:00
attr.h PYBIND11_NOINLINE-related cleanup. (#3179) 2021-08-09 10:10:38 -07:00
buffer_info.h Removing MSVC C4800 from pragma block at the top of pybind11.h (#3141) 2021-07-26 13:26:36 -07:00
cast.h Removing GCC -Wunused-but-set-parameter from pragma block at the top of pybind11.h (#3164) 2021-08-06 12:27:11 -07:00
chrono.h Accommodating environments that define __STDC_WANT_LIB_EXT1__ even if __STDC_LIB_EXT1__ is not defined by the implementation. (#3151) 2021-07-28 08:58:36 -07:00
common.h Add a dummy common.h header with a deprecation warning 2017-09-06 15:22:26 +02:00
complex.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
eigen.h fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -07:00
embed.h maint(clang-tidy): Bugprone enable checks (#3166) 2021-08-06 14:30:28 -04:00
eval.h fix(clang-tidy): Add cppcoreguidelines-init-vars,slicing, and throw-by-value-catch-by-reference checks (#3094) 2021-07-13 09:54:32 -04:00
functional.h fix: func_handle for rule of two (#3169) 2021-08-03 13:15:48 -04:00
gil.h Extract gil management functions to separate header (#2845) 2021-02-22 19:15:40 -08:00
iostream.h docs(fix): spelling mistake in recent commit 2021-07-12 16:57:28 -04:00
numpy.h PYBIND11_NOINLINE-related cleanup. (#3179) 2021-08-09 10:10:38 -07:00
operators.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
options.h Change NAMESPACE_* macros into PYBIND11_NAMESPACE_* (#2283) 2020-07-08 18:14:41 -04:00
pybind11.h PYBIND11_NOINLINE-related cleanup. (#3179) 2021-08-09 10:10:38 -07:00
pytypes.h PYBIND11_NOINLINE-related cleanup. (#3179) 2021-08-09 10:10:38 -07:00
stl_bind.h Move object in pop method of List. (#3116) 2021-07-20 11:48:09 -04:00
stl.h fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -07:00