forked from qt-creator/qt-creator
C++11: handle inline namespaces.
Change-Id: Iafdcd5bc72d9724e217767ae9c216be4363cc0d3 Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
This commit is contained in:
1
src/libs/3rdparty/cplusplus/ASTClone.cpp
vendored
1
src/libs/3rdparty/cplusplus/ASTClone.cpp
vendored
@@ -810,6 +810,7 @@ TemplateIdAST *TemplateIdAST::clone(MemoryPool *pool) const
|
||||
NamespaceAST *NamespaceAST::clone(MemoryPool *pool) const
|
||||
{
|
||||
NamespaceAST *ast = new (pool) NamespaceAST;
|
||||
ast->inline_token = inline_token;
|
||||
ast->namespace_token = namespace_token;
|
||||
ast->identifier_token = identifier_token;
|
||||
for (SpecifierListAST *iter = attribute_list, **ast_iter = &ast->attribute_list;
|
||||
|
||||
Reference in New Issue
Block a user