[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[csmith-project/creduce] 440b6a: Avoid visiting the same DeclRefExpr twice
Branch: refs/heads/llvm-svn-compatible
Home: https://github.com/csmith-project/creduce
Commit: 440b6aedb17743fc9e4dcc8a3b389df083485ccb
https://github.com/csmith-project/creduce/commit/440b6aedb17743fc9e4dcc8a3b389df083485ccb
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.