diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-05 09:55:49 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-05 15:09:32 +0000 |
commit | 53e1a5f8a22faee31015a06c1cfcb8cac0ae0ff2 (patch) | |
tree | 1a55dff3d6c42c5dccc5d02e4e8a9c4fcf1c29d8 /sources/shiboken6/ApiExtractor/typesystem.h | |
parent | 3019e2079a55d0eea252495954ee784652bca46b (diff) |
shiboken6: Move defaultValue from AddedFunction::TypeInfo to AddedFunction::Argument
It does not really belong into the type. This makes it easier to merge
CodeModel's TypeInfo and AddedFunction::TypeInfo.
Change-Id: I38c947839e4dc785aad70e8636838db020f031d4
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/ApiExtractor/typesystem.h')
-rw-r--r-- | sources/shiboken6/ApiExtractor/typesystem.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sources/shiboken6/ApiExtractor/typesystem.h b/sources/shiboken6/ApiExtractor/typesystem.h index 4f9da99ef..1a401558a 100644 --- a/sources/shiboken6/ApiExtractor/typesystem.h +++ b/sources/shiboken6/ApiExtractor/typesystem.h @@ -427,7 +427,6 @@ struct AddedFunction static TypeInfo fromSignature(const QString& signature); QString name; - QString defaultValue; int indirections = 0; bool isConstant = false; bool isReference = false; @@ -435,8 +434,9 @@ struct AddedFunction struct Argument { - QString name; TypeInfo typeInfo; + QString name; + QString defaultValue; }; /// Creates a new AddedFunction with a signature and a return type. |