diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-06 09:28:28 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-10-07 14:24:58 +0200 |
| commit | ba6179ceba84e925748068b83624c1921cfbf6d7 (patch) | |
| tree | 975adb7e81e6d850ffafd2f589250b8976d082b4 /examples/declarative/referenceexamples/adding/example.qml | |
| parent | a53318e661238ae155f9cd5692bf255c333ee292 (diff) | |
shiboken6/Clang parser: Refactor include checking
In the base class BaseVisitor of the clang parser, check whether the
file has changed by comparing the CXFile. If it has changed, convert
the file name to a QString and call visitLocation().
The code is then faster since the file name checks are only performed
when the CXFile changes. The check code operating on QString becomes
simpler and can be extended more easily.
Task-number: PYSIDE-802
Task-number: PYSIDE-1660
Pick-to: 6.2
Change-Id: I1dd22ef91a4a7b96d05507b43511313507281fd6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'examples/declarative/referenceexamples/adding/example.qml')
0 files changed, 0 insertions, 0 deletions
