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:
9
src/libs/3rdparty/cplusplus/Symbols.h
vendored
9
src/libs/3rdparty/cplusplus/Symbols.h
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user