summaryrefslogtreecommitdiff
path: root/src/shared/cplusplus
diff options
context:
space:
mode:
authorRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 15:18:43 +0100
committerRoberto Raggi <roberto.raggi@nokia.com>2009-11-10 16:20:12 +0100
commit6aa70ac9e0f7fe5a2c14a0605ead2fd77d60e5c7 (patch)
tree64d0fd9c3ddfa0e9a51786488896bdc46d630d93 /src/shared/cplusplus
parent30c67f43dfffc146d67563912dab1e2e586057a8 (diff)
downloadqt-creator-6aa70ac9e0f7fe5a2c14a0605ead2fd77d60e5c7.tar.gz
Removed member NestedNameSpecifierAST::next
Diffstat (limited to 'src/shared/cplusplus')
-rw-r--r--src/shared/cplusplus/AST.h1
-rw-r--r--src/shared/cplusplus/CheckDeclarator.cpp2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/shared/cplusplus/AST.h b/src/shared/cplusplus/AST.h
index 190b5cb560..6fbf26e52c 100644
--- a/src/shared/cplusplus/AST.h
+++ b/src/shared/cplusplus/AST.h
@@ -1159,7 +1159,6 @@ class CPLUSPLUS_EXPORT NestedNameSpecifierAST: public AST
public:
NameAST *class_or_namespace_name;
unsigned scope_token;
- NestedNameSpecifierAST *next;
public:
virtual NestedNameSpecifierAST *asNestedNameSpecifier() { return this; }
diff --git a/src/shared/cplusplus/CheckDeclarator.cpp b/src/shared/cplusplus/CheckDeclarator.cpp
index d32926e2eb..be1319d5c8 100644
--- a/src/shared/cplusplus/CheckDeclarator.cpp
+++ b/src/shared/cplusplus/CheckDeclarator.cpp
@@ -236,7 +236,7 @@ bool CheckDeclarator::visit(PointerAST *ast)
return false;
}
-bool CheckDeclarator::visit(ReferenceAST *ast)
+bool CheckDeclarator::visit(ReferenceAST *)
{
ReferenceType *refTy = control()->referenceType(_fullySpecifiedType);
FullySpecifiedType ty(refTy);