diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2012-02-02 10:19:58 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2012-02-02 11:07:20 +0100 |
commit | 13dd213f60011cec3a0ee11f557ab56bf7efd3ce (patch) | |
tree | d0d7c2ca28b11e4115f6676731fe4b63e70dda7f /src/libs/3rdparty/cplusplus/Symbols.h | |
parent | c27a463fe71d0eef0dc2c4931d6ab102cd7d216f (diff) |
C++11: handle inline namespaces.
Change-Id: Iafdcd5bc72d9724e217767ae9c216be4363cc0d3
Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
Diffstat (limited to 'src/libs/3rdparty/cplusplus/Symbols.h')
-rw-r--r-- | src/libs/3rdparty/cplusplus/Symbols.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libs/3rdparty/cplusplus/Symbols.h b/src/libs/3rdparty/cplusplus/Symbols.h index ec65e926f7..2d1d5158f4 100644 --- a/src/libs/3rdparty/cplusplus/Symbols.h +++ b/src/libs/3rdparty/cplusplus/Symbols.h @@ -445,10 +445,19 @@ public: virtual Namespace *asNamespaceType() { return this; } + bool isInline() const + { return _isInline; } + + void setInline(bool onoff) + { _isInline = onoff; } + protected: virtual void visitSymbol0(SymbolVisitor *visitor); virtual void accept0(TypeVisitor *visitor); virtual bool matchType0(const Type *otherType, TypeMatcher *matcher) const; + +private: + bool _isInline; }; class CPLUSPLUS_EXPORT BaseClass: public Symbol |