summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus/AST.h
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 15:30:16 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:13 +0100
commit4fc2ccf0c5af6d93b1edca95518043b84e342c67 (patch)
treecc2010cdaa07a3cdbf619de19edc8e9646339605 /src/shared/cplusplus/AST.h
parent1fb33e9fad0d65fb2259fb603f61bc255f19b70f (diff)
downloadqt-creator-4fc2ccf0c5af6d93b1edca95518043b84e342c67.tar.gz
Cleanup ptr operators.
Diffstat (limited to 'src/shared/cplusplus/AST.h')
-rw-r--r--src/shared/cplusplus/AST.h10
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