forked from qt-creator/qt-creator
C++: Simplify Bind::asStringLiteral
Pass the expression directly Change-Id: I44421fad0a0251641608d266fe681c05b3631064 Reviewed-by: Przemyslaw Gorszkowski <pgorszkowski@gmail.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
72a34d8359
commit
a968940494
2
src/libs/3rdparty/cplusplus/Bind.h
vendored
2
src/libs/3rdparty/cplusplus/Bind.h
vendored
@@ -105,7 +105,7 @@ protected:
|
||||
void capture(CaptureAST *ast);
|
||||
Function *lambdaDeclarator(LambdaDeclaratorAST *ast);
|
||||
FullySpecifiedType trailingReturnType(TrailingReturnTypeAST *ast, const FullySpecifiedType &init);
|
||||
const StringLiteral *asStringLiteral(unsigned firstToken, unsigned lastToken);
|
||||
const StringLiteral *asStringLiteral(const ExpressionAST *ast);
|
||||
|
||||
virtual bool preVisit(AST *);
|
||||
virtual void postVisit(AST *);
|
||||
|
||||
Reference in New Issue
Block a user