TypeRewriter: Handle rvalue references correctly

Task-number: QTCREATORBUG-10555
Change-Id: Icb9859f96220f613476c097b747dec8c2d1bc2ed
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
Daniel Teske
2013-11-26 17:16:13 +01:00
committed by Nikolai Kosjar
parent e6e74b61d7
commit a1c18d9e97
6 changed files with 35 additions and 4 deletions

View File

@@ -91,7 +91,7 @@ public:
PointerType *pointerType(const FullySpecifiedType &elementType);
/// Returns a Type object of type ReferenceType.
ReferenceType *referenceType(const FullySpecifiedType &elementType, bool rvalueRef = false);
ReferenceType *referenceType(const FullySpecifiedType &elementType, bool rvalueRef);
/// Retruns a Type object of type ArrayType.
ArrayType *arrayType(const FullySpecifiedType &elementType, unsigned size = 0);