summaryrefslogtreecommitdiffstats
path: root/lib/cppparser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/cppparser')
-rw-r--r--lib/cppparser/ast.cpp4
-rw-r--r--lib/cppparser/ast.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/cppparser/ast.cpp b/lib/cppparser/ast.cpp
index 8fe6b82f..334ac62a 100644
--- a/lib/cppparser/ast.cpp
+++ b/lib/cppparser/ast.cpp
@@ -178,14 +178,14 @@ void AST::getEndPosition( int* line, int* col ) const
* col = m_endColumn;
}
-void AST::setParent( AST* tqparent )
+void AST::setParent( AST* parent )
{
#ifndef CPPPARSER_NO_CHILDREN
if( m_parent )
m_parent->removeChild( this );
#endif
- m_parent = tqparent;
+ m_parent = parent;
#ifndef CPPPARSER_NO_CHILDREN
if( m_parent )
diff --git a/lib/cppparser/ast.h b/lib/cppparser/ast.h
index ccea98e2..3e53a285 100644
--- a/lib/cppparser/ast.h
+++ b/lib/cppparser/ast.h
@@ -253,8 +253,8 @@ public:
int nodeType() const { return m_nodeType; }
void setNodeType( int nodeType ) { m_nodeType = nodeType; }
- AST* tqparent() { return m_parent; }
- void setParent( AST* tqparent );
+ AST* parent() { return m_parent; }
+ void setParent( AST* parent );
void setStartPosition( int line, int col );
void getStartPosition( int* line, int* col ) const;