forked from qt-creator/qt-creator
C++: Fix "duplicate data type in declaration" for lambdas
The "_type" wasn't reset. Task-number: QTCREATORBUG-12521 Change-Id: I0d38cb38e270260065313d1235d42f2689385850 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
2
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
2
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
@@ -1108,7 +1108,7 @@ void Bind::lambdaDeclarator(LambdaDeclaratorAST *ast)
|
||||
type = this->specifier(it->value, type);
|
||||
}
|
||||
// unsigned mutable_token = ast->mutable_token;
|
||||
type = this->exceptionSpecification(ast->exception_specification, type);
|
||||
_type = this->exceptionSpecification(ast->exception_specification, type);
|
||||
}
|
||||
|
||||
bool Bind::visit(TrailingReturnTypeAST *ast)
|
||||
|
||||
Reference in New Issue
Block a user