forked from qt-creator/qt-creator
C++: fix tooltip for constantValue of enumeratorDeclaration
E.g.:
enum E { x = 1 + 2 + 1 };
constantValue for enumeratorDeclaration currently is equal: '1+2+1'
(spaces between are removed).
Fixed version produces "1 + 2 + 1".
Change-Id: I38f7703bd5c856c28aadeecd7f7923aa4a7da422
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Nikolai Kosjar
parent
fe39e8e9c3
commit
f068223133
3
src/libs/3rdparty/cplusplus/Bind.h
vendored
3
src/libs/3rdparty/cplusplus/Bind.h
vendored
@@ -105,8 +105,7 @@ protected:
|
||||
void capture(CaptureAST *ast);
|
||||
void lambdaDeclarator(LambdaDeclaratorAST *ast);
|
||||
FullySpecifiedType trailingReturnType(TrailingReturnTypeAST *ast, const FullySpecifiedType &init);
|
||||
const StringLiteral *asStringLiteral(unsigned firstToken, unsigned lastToken,
|
||||
bool addWhitespace = true);
|
||||
const StringLiteral *asStringLiteral(unsigned firstToken, unsigned lastToken);
|
||||
|
||||
virtual bool preVisit(AST *);
|
||||
virtual void postVisit(AST *);
|
||||
|
||||
Reference in New Issue
Block a user