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:
2
src/libs/3rdparty/cplusplus/Symbols.cpp
vendored
2
src/libs/3rdparty/cplusplus/Symbols.cpp
vendored
@@ -555,10 +555,12 @@ bool Template::matchType0(const Type *otherType, TypeMatcher *matcher) const
|
||||
|
||||
Namespace::Namespace(TranslationUnit *translationUnit, unsigned sourceLocation, const Name *name)
|
||||
: Scope(translationUnit, sourceLocation, name)
|
||||
, _isInline(false)
|
||||
{ }
|
||||
|
||||
Namespace::Namespace(Clone *clone, Subst *subst, Namespace *original)
|
||||
: Scope(clone, subst, original)
|
||||
, _isInline(original->_isInline)
|
||||
{ }
|
||||
|
||||
Namespace::~Namespace()
|
||||
|
Reference in New Issue
Block a user