aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/shibokenmodule/__init__.py.in
diff options
context:
space:
mode:
authorVolker Aßmann <volker.assmann@gmail.com>2019-03-20 22:06:59 +0100
committerCristian Maureira-Fredes <cristian.maureira-fredes@qt.io>2019-03-23 15:59:33 +0000
commit7539ef50f0755f89e9307d036cf4cc63bbf79e3a (patch)
treef82358027287bd2f1064180d88806fc135011055 /sources/shiboken2/shibokenmodule/__init__.py.in
parent37b4456fd4cbba25b674a973a920e0d24060d3e4 (diff)
Shiboken: Add "noexcept" to wrapper when wrapped function is noexcept
The clangparser was already recording the exception specifier for wrapped functions, but the code generator did not transfer the type specifier to the wrapper function. With modern compilers this leads to compile errors as the exception specifier is now part of the type. Noexcept is now added whenever the clangparser determines the source function is noexcept. Change-Id: I1f68981d997fcf4f007569c6d682e3dcf68eca60 Fixes: PYSIDE-977 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'sources/shiboken2/shibokenmodule/__init__.py.in')
0 files changed, 0 insertions, 0 deletions