diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-10 13:58:59 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-10-13 10:20:47 +0200 |
| commit | bc67403cb39d94f1ae2b96bd0b86947df0783182 (patch) | |
| tree | d7efd7be3b501a9185fbd321592065e7aea69222 /sources/shiboken6/ApiExtractor/docparser.cpp | |
| parent | ec5a625b1f81d03c813bcce168549bfbb7b8f314 (diff) | |
shiboken6: Port some loop variables to qsizetype
Where possible, used range-based for. Otherwise, use qsizetype
for loop variables.
Change-Id: I4773bee8468ce73722656ec73845369b7d40d4cd
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/docparser.cpp')
| -rw-r--r-- | sources/shiboken6/ApiExtractor/docparser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sources/shiboken6/ApiExtractor/docparser.cpp b/sources/shiboken6/ApiExtractor/docparser.cpp index 4745e675d..91eb2bd6b 100644 --- a/sources/shiboken6/ApiExtractor/docparser.cpp +++ b/sources/shiboken6/ApiExtractor/docparser.cpp @@ -106,7 +106,7 @@ DocModificationList DocParser::getDocModifications(const AbstractMetaClass* cppC AbstractMetaFunctionCList DocParser::documentableFunctions(const AbstractMetaClass *metaClass) { auto result = metaClass->functionsInTargetLang(); - for (int i = result.size() - 1; i >= 0; --i) { + for (auto i = result.size() - 1; i >= 0; --i) { if (DocParser::skipForQuery(result.at(i)) || result.at(i)->isUserAdded()) result.removeAt(i); } |
