Commit ef605df9 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Renamed Instantiation.

parent bb7e17ed
...@@ -51,14 +51,14 @@ namespace { ...@@ -51,14 +51,14 @@ namespace {
typedef QList< QPair<Name *, FullySpecifiedType> > Substitution; typedef QList< QPair<Name *, FullySpecifiedType> > Substitution;
class Instantiation: protected TypeVisitor, protected NameVisitor class GenerateInstance: protected TypeVisitor, protected NameVisitor
{ {
Control *_control; Control *_control;
FullySpecifiedType _type; FullySpecifiedType _type;
const Substitution _substitution; const Substitution _substitution;
public: public:
Instantiation(Control *control, const Substitution &substitution) GenerateInstance(Control *control, const Substitution &substitution)
: _control(control), : _control(control),
_substitution(substitution) _substitution(substitution)
{ } { }
...@@ -807,7 +807,7 @@ ResolveExpression::resolveMember(Name *memberName, Class *klass, ...@@ -807,7 +807,7 @@ ResolveExpression::resolveMember(Name *memberName, Class *klass,
templArgTy)); templArgTy));
} }
Instantiation inst(control(), subst); GenerateInstance inst(control(), subst);
ty = inst(ty); ty = inst(ty);
} }
...@@ -842,7 +842,7 @@ ResolveExpression::resolveArrowOperator(const Result &, ...@@ -842,7 +842,7 @@ ResolveExpression::resolveArrowOperator(const Result &,
templArgTy)); templArgTy));
} }
} }
Instantiation inst(control(), subst); GenerateInstance inst(control(), subst);
ty = inst(ty); ty = inst(ty);
} }
...@@ -880,7 +880,7 @@ ResolveExpression::resolveArrayOperator(const Result &, ...@@ -880,7 +880,7 @@ ResolveExpression::resolveArrayOperator(const Result &,
templArgTy)); templArgTy));
} }
} }
Instantiation inst(control(), subst); GenerateInstance inst(control(), subst);
ty = inst(ty); ty = inst(ty);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment