diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2010-08-05 17:02:25 +0200 |
---|---|---|
committer | Oswald Buddenhagen <oswald.buddenhagen@nokia.com> | 2010-08-05 17:53:14 +0200 |
commit | 9aa991d6368f011e215a482c60add86f7f6277a2 (patch) | |
tree | 87242f692241f1d5bca27c60ee16fa8937f080c3 /src/shared/cplusplus/Symbols.h | |
parent | 5f440364241f0d1caa00926097ea3a535526e8b0 (diff) |
Refactored CPlusPlus::Function.
Diffstat (limited to 'src/shared/cplusplus/Symbols.h')
-rw-r--r-- | src/shared/cplusplus/Symbols.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/shared/cplusplus/Symbols.h b/src/shared/cplusplus/Symbols.h index 0f5d8d8374..edf2d8e573 100644 --- a/src/shared/cplusplus/Symbols.h +++ b/src/shared/cplusplus/Symbols.h @@ -342,6 +342,9 @@ public: int methodKey() const; void setMethodKey(int key); + Block *block() const; + void setBlock(Block *block); + unsigned templateParameterCount() const; // ### remove me Symbol *templateParameterAt(unsigned index) const; // ### remove me @@ -356,7 +359,6 @@ public: unsigned argumentCount() const; Symbol *argumentAt(unsigned index) const; - Scope *arguments() const; /** Convenience function that returns whether the function receives any arguments. */ bool hasArguments() const; @@ -408,8 +410,9 @@ protected: virtual bool matchType0(const Type *otherType, TypeMatcher *matcher) const; private: - TemplateParameters *_templateParameters; FullySpecifiedType _returnType; + TemplateParameters *_templateParameters; + Block *_block; struct Flags { unsigned _isVirtual: 1; unsigned _isVariadic: 1; @@ -423,7 +426,6 @@ private: unsigned _flags; Flags f; }; - Scope *_arguments; }; class CPLUSPLUS_EXPORT Namespace: public ScopedSymbol, public Type |