forked from qt-creator/qt-creator
Merge remote-tracking branch 'origin/2.6'
Conflicts: qtcreator.pri qtcreator.qbp src/libs/utils/utils.pro Change-Id: I6f0aba746f915d8c51dcf9372f7d9f593562fc2b
This commit is contained in:
9
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
9
src/libs/3rdparty/cplusplus/Bind.cpp
vendored
@@ -2098,7 +2098,16 @@ bool Bind::visit(ExceptionDeclarationAST *ast)
|
||||
}
|
||||
DeclaratorIdAST *declaratorId = 0;
|
||||
type = this->declarator(ast->declarator, type, &declaratorId);
|
||||
|
||||
const Name *argName = 0;
|
||||
if (declaratorId && declaratorId->name)
|
||||
argName = declaratorId->name->name;
|
||||
Argument *arg = control()->newArgument(location(declaratorId, ast->firstToken()), argName);
|
||||
arg->setType(type);
|
||||
_scope->addMember(arg);
|
||||
|
||||
// unsigned dot_dot_dot_token = ast->dot_dot_dot_token;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user