[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[csmith-project/creduce] 9b6d91: Avoid visiting the same DeclRefExpr twice



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 9b6d912faaac7a1d73241814ab6f62c821e1aa74
      https://github.com/csmith-project/creduce/commit/9b6d912faaac7a1d73241814ab6f62c821e1aa74
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-01-29 (Fri, 29 Jan 2016)

  Changed paths:
    M clang_delta/RenameVar.cpp
    M clang_delta/RenameVar.h

  Log Message:
  -----------
  Avoid visiting the same DeclRefExpr twice

a DeclRefExpr in an InitListExpr may be visited twice,
from the InitListExpr's semantic form and syntactic form.
We should skip the second visitation.