forked from qt-creator/qt-creator
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:
committed by
Nikolai Kosjar
parent
e6e74b61d7
commit
a1c18d9e97
2
src/libs/3rdparty/cplusplus/Control.h
vendored
2
src/libs/3rdparty/cplusplus/Control.h
vendored
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user