File tree 4 files changed +17
-10
lines changed
4 files changed +17
-10
lines changed Original file line number Diff line number Diff line change @@ -2,16 +2,23 @@ FormatStyle: file
2
2
3
3
Checks : '
4
4
llvm-namespace-comment,
5
- modernize-use-override ,
6
- readability-container-size-empty ,
7
- modernize-use-using ,
8
- modernize-use-equals-default ,
5
+ modernize-avoid-bind ,
6
+ modernize-replace-auto-ptr ,
7
+ modernize-replace-disallow-copy-and-assign-macro ,
8
+ modernize-shrink-to-fit ,
9
9
modernize-use-auto,
10
+ modernize-use-equals-default,
11
+ modernize-use-equals-delete,
10
12
modernize-use-emplace,
13
+ modernize-use-override,
14
+ modernize-use-using,
15
+ readability-container-size-empty,
11
16
'
12
17
13
18
CheckOptions :
14
19
- key : performance-unnecessary-value-param.AllowedTypes
15
20
value : ' exception_ptr$;'
16
21
17
22
HeaderFilterRegex : ' pybind11/.*h'
23
+
24
+ WarningsAsErrors : ' *'
Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ jobs:
152
152
# MSVC, but for now, this action works:
153
153
- name : Prepare compiler environment for Windows 🐍 2.7
154
154
if : matrix.python == 2.7 && runner.os == 'Windows'
155
- uses : ilammy/msvc-dev-cmd@v1.8.1
155
+ uses : ilammy/msvc-dev-cmd@v1.9.0
156
156
with :
157
157
arch : x64
158
158
@@ -742,7 +742,7 @@ jobs:
742
742
uses : jwlawson/actions-setup-cmake@v1.9
743
743
744
744
- name : Prepare MSVC
745
- uses : ilammy/msvc-dev-cmd@v1.8.1
745
+ uses : ilammy/msvc-dev-cmd@v1.9.0
746
746
with :
747
747
arch : x86
748
748
@@ -788,7 +788,7 @@ jobs:
788
788
uses : jwlawson/actions-setup-cmake@v1.9
789
789
790
790
- name : Prepare MSVC
791
- uses : ilammy/msvc-dev-cmd@v1.8.1
791
+ uses : ilammy/msvc-dev-cmd@v1.9.0
792
792
with :
793
793
toolset : 14.0
794
794
Original file line number Diff line number Diff line change @@ -20,12 +20,12 @@ class TestFactory1 {
20
20
TestFactory1 () : value(" (empty)" ) { print_default_created (this ); }
21
21
TestFactory1 (int v) : value(std::to_string(v)) { print_created (this , value); }
22
22
TestFactory1 (std::string v) : value(std::move(v)) { print_created (this , value); }
23
+ public:
24
+ std::string value;
23
25
TestFactory1 (TestFactory1 &&) = delete ;
24
26
TestFactory1 (const TestFactory1 &) = delete ;
25
27
TestFactory1 &operator =(TestFactory1 &&) = delete ;
26
28
TestFactory1 &operator =(const TestFactory1 &) = delete ;
27
- public:
28
- std::string value;
29
29
~TestFactory1 () { print_destroyed (this ); }
30
30
};
31
31
// Non-public construction, but moveable:
Original file line number Diff line number Diff line change @@ -201,7 +201,7 @@ Using ``find_package`` with version info is not recommended except for release v
201
201
@PACKAGE_INIT@
202
202
203
203
# Location of pybind11/pybind11.h
204
- set (pybind11_INCLUDE_DIR "${PACKAGE_PREFIX_DIR} /@CMAKE_INSTALL_INCLUDEDIR @" )
204
+ set (pybind11_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR @" )
205
205
206
206
set (pybind11_LIBRARY "" )
207
207
set (pybind11_DEFINITIONS USING_pybind11)
You can’t perform that action at this time.
0 commit comments