Warnings wrappers to use from C++ (#5291)

* Add warning wrappers that allow to call warnings from pybind level

* Add missing include for warnings.h

* Change messages on failed checks, extend testing

* clang-tidy fix

* Refactor tests for warnings

* Move handle before check

* Remove unnecessary parametrized
This commit is contained in:
Jan Iwaszkiewicz
2024-08-29 05:55:50 +02:00
committed by GitHub
parent 65f4266cef
commit 66c3774a64
6 changed files with 194 additions and 2 deletions

View File

@@ -47,6 +47,7 @@ main_headers = {
"include/pybind11/stl_bind.h",
"include/pybind11/type_caster_pyobject_ptr.h",
"include/pybind11/typing.h",
"include/pybind11/warnings.h",
}
detail_headers = {