[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdevplatform/1.3] language/duchain: properly print rvalue identifiers
From: Milian Wolff <mail () milianw ! de>
Date: 2012-02-20 17:12:13
Message-ID: 20120220171213.E1CC6A60A6 () git ! kde ! org
[Download RAW message or body]
Git commit a2dbabd5b9437c7da6d3c8dbfc09b06e04288749 by Milian Wolff.
Committed on 20/02/2012 at 17:16.
Pushed by mwolff into branch '1.3'.
properly print rvalue identifiers
M +3 -1 language/duchain/identifier.cpp
http://commits.kde.org/kdevplatform/a2dbabd5b9437c7da6d3c8dbfc09b06e04288749
diff --git a/language/duchain/identifier.cpp b/language/duchain/identifier.cpp
index 4d7f9c9..a53ea29 100644
--- a/language/duchain/identifier.cpp
+++ b/language/duchain/identifier.cpp
@@ -1048,7 +1048,9 @@ QString IndexedTypeIdentifier::toString(bool ignoreExplicitlyGlobal) const {
ret += "const";
}
- if(isReference())
+ if(isRValue())
+ ret += "&&";
+ else if(isReference())
ret += '&';
return ret;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic