diff options
author | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 15:30:16 +0100 |
---|---|---|
committer | Roberto Raggi <roberto.raggi@nokia.com> | 2009-11-10 16:20:13 +0100 |
commit | 4fc2ccf0c5af6d93b1edca95518043b84e342c67 (patch) | |
tree | cc2010cdaa07a3cdbf619de19edc8e9646339605 /src/shared/cplusplus/AST.h | |
parent | 1fb33e9fad0d65fb2259fb603f61bc255f19b70f (diff) | |
download | qt-creator-4fc2ccf0c5af6d93b1edca95518043b84e342c67.tar.gz |
Cleanup ptr operators.
Diffstat (limited to 'src/shared/cplusplus/AST.h')
-rw-r--r-- | src/shared/cplusplus/AST.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/shared/cplusplus/AST.h b/src/shared/cplusplus/AST.h index 2e858bd5f5..e4a61e332b 100644 --- a/src/shared/cplusplus/AST.h +++ b/src/shared/cplusplus/AST.h @@ -371,7 +371,7 @@ class CPLUSPLUS_EXPORT DeclaratorAST: public AST { public: SpecifierAST *attributes; - PtrOperatorAST *ptr_operators; + PtrOperatorListAST *ptr_operators; CoreDeclaratorAST *core_declarator; PostfixDeclaratorListAST *postfix_declarators; SpecifierAST *post_attributes; @@ -1198,7 +1198,7 @@ class CPLUSPLUS_EXPORT ConversionFunctionIdAST: public NameAST public: unsigned operator_token; SpecifierAST *type_specifier; - PtrOperatorAST *ptr_operators; + PtrOperatorListAST *ptr_operators; public: virtual ConversionFunctionIdAST *asConversionFunctionId() { return this; } @@ -1379,7 +1379,7 @@ class CPLUSPLUS_EXPORT NewTypeIdAST: public AST { public: SpecifierAST *type_specifier; - PtrOperatorAST *ptr_operators; + PtrOperatorListAST *ptr_operators; NewArrayDeclaratorListAST *new_array_declarators; public: @@ -1592,11 +1592,7 @@ protected: class CPLUSPLUS_EXPORT PtrOperatorAST: public AST { public: - PtrOperatorAST *next; - -public: virtual PtrOperatorAST *asPtrOperator() { return this; } - }; class CPLUSPLUS_EXPORT PointerToMemberAST: public PtrOperatorAST |