Open
Description
The free variables work (see #903) uses a helper class to get the set of (unique) variables that appear in an expression. The VisitDeclRefExpr method is quadratic in the number of variables in the expression.
VisitDeclRefExpr should use a hashtable to filter the DeclRefExprs that should be added to the set of variables in the expression.