aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-28 12:34:31 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2017-02-28 12:51:20 +0000
commit454b2eefa94a941947fdf744388f49fd00f18c3d (patch)
tree178a5f9aaee86f447555355451cc5a32f20683f7
parenteb18c9c45bfd6a835621549ca815b9de62f0d761 (diff)
AbstractMetaType::cppSignature(): Format rvalue-references correctly
actualIndirections() so far ignores rvalue-references. Amends change 80fef1705ca23be01edbb12ece1b8bd49473bafe. Task-number: PYSIDE-323 Change-Id: Ieca0c4d3cac62030cb02254c8d72e9f93cb08a2b Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--ApiExtractor/abstractmetalang.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ApiExtractor/abstractmetalang.cpp b/ApiExtractor/abstractmetalang.cpp
index 9a5b3156e..57b72629d 100644
--- a/ApiExtractor/abstractmetalang.cpp
+++ b/ApiExtractor/abstractmetalang.cpp
@@ -165,7 +165,7 @@ QString AbstractMetaType::cppSignature() const
m_cachedCppSignature += QLatin1String(" >");
}
- if (actualIndirections()) {
+ if (indirections() || m_referenceType != NoReference) {
m_cachedCppSignature += QLatin1Char(' ');
if (indirections())
m_cachedCppSignature += QString(indirections(), QLatin1Char('*'));