pybind11/include/pybind11
Boris Staletic 5cd3750757
Enable -Wstrict-aliasing warning (#2816)
* Enable -Wstrict-aliasing warning

* Narrow down the scope of -Wstrict-aliasing

* Go home, MSVC, you're drunk

* Make sure "pragma GCC" is not executed on ICC

Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
2021-07-15 12:38:52 -04:00
..
detail * Removing stray semicolons (discovered by running clang-format v12 followed by tools/check-style.sh). (#3087) 2021-07-13 18:14:58 -07:00
stl Splitting out pybind11/stl/filesystem.h. (#3077) 2021-07-08 09:02:48 -07:00
attr.h * Removing stray semicolons (discovered by running clang-format v12 followed by tools/check-style.sh). (#3087) 2021-07-13 18:14:58 -07:00
buffer_info.h fix(clang-tidy): Apply performance fixes from clang-tidy (#3046) 2021-06-19 10:53:27 -07:00
cast.h fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -07:00
chrono.h fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -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 Shorten PYBIND11_EMBEDDED_MODULE macro implementation by using PYBIND11_CATCH_INIT_EXCEPTIONS (#2579) 2020-10-12 23:10:18 +02: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(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -07: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 fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -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 Enable -Wstrict-aliasing warning (#2816) 2021-07-15 12:38:52 -04:00
pytypes.h Raise codec errors when casting to std::string (#2903) 2021-07-13 21:21:55 -07:00
stl_bind.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
stl.h fix(clang-tidy): Enable clang-tidy else-after-return and redundant void checks (#3080) 2021-07-09 06:45:53 -07:00