aboutsummaryrefslogtreecommitdiffstats
path: root/examples/multimedia/camera.py
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-07 15:52:42 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2020-07-09 19:34:08 +0200
commit3a0b9ebc9e2980af8dc5fbf4ac8bc6ddfd49c9d9 (patch)
treea9a499b128090c2131db7590e934d83241d21cf8 /examples/multimedia/camera.py
parentfb2dc48389c1099bef3aaed97f16ce2bd1b90fee (diff)
shiboken2/clangparser: Refactor code snippet extraction handling
Code snippets resulting from macro expansion have a 0 range. Detect this first thing and return an empty snippet before starting to convert file names and reading files. For that purpose, use a CXFile instead of a QString in SourceLocation. For all other cases, output a verbose warning. Provide a function to obtain the file name from a CXFile with caching in the builder. Task-number: PYSIDE-1339 Task-number: PYSIDE-904 Change-Id: Ie30563f5b25d0d21b3a1ceb0c9da37cfc8d808dd Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'examples/multimedia/camera.py')
0 files changed, 0 insertions, 0 deletions