diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-11-11 18:22:29 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2022-11-14 12:16:43 +0100 |
commit | 33e75541a7a29fb38fe9a463760b86bfc055031a (patch) | |
tree | df7656699a4df22645d2c210e3875d54cc082275 /sources/shiboken6/ApiExtractor/abstractmetalang.h | |
parent | 1e47cdbd77ed2c95f520aaa8b856bb05f4076a89 (diff) |
shiboken6: Fix coding style regarding pointers (Type* v -> Type *v)
As a drive-by, introduce some auto and streamline the code.
Pick-to: 6.4
Change-Id: If84a3721a50b2e00b473ba78cba184f1a35d326b
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/abstractmetalang.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetalang.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetalang.h b/sources/shiboken6/ApiExtractor/abstractmetalang.h index 2c14b8dbe..8e8c451c4 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetalang.h +++ b/sources/shiboken6/ApiExtractor/abstractmetalang.h @@ -210,7 +210,7 @@ public: void setExtendedNamespace(const AbstractMetaClass *e); const AbstractMetaClassCList &innerClasses() const; - void addInnerClass(AbstractMetaClass* cl); + void addInnerClass(AbstractMetaClass *cl); void setInnerClasses(const AbstractMetaClassCList &innerClasses); QString package() const; @@ -323,9 +323,9 @@ public: static const AbstractMetaClass *findClass(const AbstractMetaClassCList &classes, QStringView name); static AbstractMetaClass *findClass(const AbstractMetaClassList &classes, - const TypeEntry* typeEntry); + const TypeEntry *typeEntry); static const AbstractMetaClass *findClass(const AbstractMetaClassCList &classes, - const TypeEntry* typeEntry); + const TypeEntry *typeEntry); const AbstractMetaClass *findBaseClass(const QString &qualifiedName) const; static std::optional<AbstractMetaEnumValue> findEnumValue(const AbstractMetaClassList &classes, |