diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-08-26 11:41:20 +0200 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-08-26 11:41:20 +0200 |
commit | fc1b435ab4982ac96324591f6215fd2a3adb0ca0 (patch) | |
tree | 66e1950eb46ad743026e97d2dff85b90335a4bba /src/shared/cplusplus/CheckDeclaration.h | |
parent | f137bd3b83dbb57e029a4bdd58e8dc7b34934d39 (diff) | |
download | qt-creator-fc1b435ab4982ac96324591f6215fd2a3adb0ca0.tar.gz |
Introduced CPlusPlus::TemplateArguments and fixed a possible mem-leak when using template members.
Diffstat (limited to 'src/shared/cplusplus/CheckDeclaration.h')
-rw-r--r-- | src/shared/cplusplus/CheckDeclaration.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shared/cplusplus/CheckDeclaration.h b/src/shared/cplusplus/CheckDeclaration.h index f75a3dd2b3..27869c75ca 100644 --- a/src/shared/cplusplus/CheckDeclaration.h +++ b/src/shared/cplusplus/CheckDeclaration.h @@ -61,12 +61,12 @@ public: CheckDeclaration(Semantic *semantic); virtual ~CheckDeclaration(); - void check(DeclarationAST *declaration, Scope *scope, Scope *templateParameters); + void check(DeclarationAST *declaration, Scope *scope, TemplateParameters *templateParameters); protected: DeclarationAST *switchDeclaration(DeclarationAST *declaration); Scope *switchScope(Scope *scope); - Scope *switchTemplateParameters(Scope *templateParameters); + TemplateParameters *switchTemplateParameters(TemplateParameters *templateParameters); void checkFunctionArguments(Function *fun); @@ -101,7 +101,7 @@ protected: private: DeclarationAST *_declaration; Scope *_scope; - Scope *_templateParameters; + TemplateParameters *_templateParameters; bool _checkAnonymousArguments: 1; }; |