Go to the documentation of this file.
13 #ifndef MLIR_BINDINGS_PYTHON_NANOBIND_H
14 #define MLIR_BINDINGS_PYTHON_NANOBIND_H
16 #if defined(__clang__) || defined(__GNUC__)
17 #pragma GCC diagnostic push
18 #pragma GCC diagnostic ignored "-Wzero-length-array"
19 #pragma GCC diagnostic ignored "-Wcast-qual"
20 #pragma GCC diagnostic ignored "-Wnested-anon-types"
21 #pragma GCC diagnostic ignored "-Wc++98-compat-extra-semi"
22 #pragma GCC diagnostic ignored "-Wcovered-switch-default"
24 #include <nanobind/nanobind.h>
25 #include <nanobind/ndarray.h>
26 #include <nanobind/stl/function.h>
27 #include <nanobind/stl/optional.h>
28 #include <nanobind/stl/pair.h>
29 #include <nanobind/stl/string.h>
30 #include <nanobind/stl/string_view.h>
31 #include <nanobind/stl/tuple.h>
32 #include <nanobind/stl/vector.h>
33 #if defined(__clang__) || defined(__GNUC__)
34 #pragma GCC diagnostic pop