diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-14 08:14:16 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2020-12-15 16:21:25 +0000 |
commit | fb167af4e2509975aaaf44fe932c06aa06075144 (patch) | |
tree | 04bd918073e11de8403d9d8d802a3a5561b66b86 /sources | |
parent | 3602a7381f0cc379c88b78de207a7d79f6f76a25 (diff) |
shiboken6: Clarify code comment about pointer operator
Change-Id: I395d87a75abe0c744369e6d3e31fff990c620e7b
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
(cherry picked from commit a903d1b6c8c5e320628e333496d6a536a89c3a4f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'sources')
-rw-r--r-- | sources/shiboken6/ApiExtractor/abstractmetafunction.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sources/shiboken6/ApiExtractor/abstractmetafunction.h b/sources/shiboken6/ApiExtractor/abstractmetafunction.h index 1d5c8885a..0c604f1e3 100644 --- a/sources/shiboken6/ApiExtractor/abstractmetafunction.h +++ b/sources/shiboken6/ApiExtractor/abstractmetafunction.h @@ -121,10 +121,9 @@ public: bool isReverseOperator() const; void setReverseOperator(bool reverse); - /** - * Returns true if this is a operator and the "self" operand is a pointer. - * e.g. class Foo {}; operator+(SomeEnum, Foo*); - */ + /// Returns true if this is a binary operator and the "self" operand is a + /// pointer, e.g. class Foo {}; operator+(SomeEnum, Foo*); + /// (not to be mixed up with DereferenceOperator). bool isPointerOperator() const; void setPointerOperator(bool value); |