Use the context created by TypeOfExpression.

This commit is contained in:
Roberto Raggi
2010-05-17 16:27:54 +02:00
parent 5cb42c93ef
commit 35c50dcbfc
4 changed files with 38 additions and 51 deletions

View File

@@ -105,7 +105,7 @@ Scope *TypeOfExpression::scope() const
return m_scope;
}
const LookupContext &TypeOfExpression::lookupContext() const
const LookupContext &TypeOfExpression::context() const
{
return m_lookupContext;
}

View File

@@ -92,7 +92,7 @@ public:
/**
* Returns the lookup context of the last evaluated expression.
*/
const LookupContext &lookupContext() const;
const LookupContext &context() const;
Scope *scope() const;
ExpressionAST *expressionAST() const;