Skip to content

Commit 61a0b0b

Browse files
committed
Upgrade cxxheaderparser to 1.4.1
1 parent 106e39d commit 61a0b0b

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

robotpy_build/autowrap/cxxparser.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
ClassBlockState,
2424
ExternBlockState,
2525
NamespaceBlockState,
26+
NonClassBlockState,
2627
)
2728
from cxxheaderparser.tokfmt import tokfmt
2829
from cxxheaderparser.types import (
@@ -31,6 +32,7 @@
3132
ClassDecl,
3233
Concept,
3334
DecoratedType,
35+
DeductionGuide,
3436
EnumDecl,
3537
Field,
3638
ForwardDecl,
@@ -1272,6 +1274,11 @@ def on_class_end(self, state: AWClassBlockState) -> None:
12721274
for m in cdata.defer_private_nonvirtual_methods:
12731275
self._on_class_method_process_overload_only(state, m)
12741276

1277+
def on_deduction_guide(
1278+
self, state: NonClassBlockState, guide: DeductionGuide
1279+
) -> None:
1280+
pass
1281+
12751282
#
12761283
# Function/method processing
12771284
#

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ install_requires =
2727
setuptools_scm >= 6.2, < 8
2828
sphinxify >= 0.7.3
2929
pydantic >= 1.7.0, < 2
30-
cxxheaderparser[pcpp] ~= 1.2
30+
cxxheaderparser[pcpp] ~= 1.4.1
3131
tomli
3232
tomli_w
3333
toposort

0 commit comments

Comments
 (0)