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:
4
src/libs/3rdparty/cplusplus/AST.h
vendored
4
src/libs/3rdparty/cplusplus/AST.h
vendored
@@ -2223,6 +2223,7 @@ protected:
|
||||
class CPLUSPLUS_EXPORT NamespaceAST: public DeclarationAST
|
||||
{
|
||||
public:
|
||||
unsigned inline_token;
|
||||
unsigned namespace_token;
|
||||
unsigned identifier_token;
|
||||
SpecifierListAST *attribute_list;
|
||||
@@ -2233,7 +2234,8 @@ public: // annotations
|
||||
|
||||
public:
|
||||
NamespaceAST()
|
||||
: namespace_token(0)
|
||||
: inline_token(0)
|
||||
, namespace_token(0)
|
||||
, identifier_token(0)
|
||||
, attribute_list(0)
|
||||
, linkage_body(0)
|
||||
|
||||
Reference in New Issue
Block a user