[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/llvm-svn-compatible
  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.


  Commit: 587c7e2d9c6fe945ab09da1c69b5bc842a73ceb0
      https://github.com/csmith-project/creduce/commit/587c7e2d9c6fe945ab09da1c69b5bc842a73ceb0
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

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

  Log Message:
  -----------
  separate the code path for C and C++


  Commit: 7ebf7b877d8a2b739f57a7a3190da4a043a4b47e
      https://github.com/csmith-project/creduce/commit/7ebf7b877d8a2b739f57a7a3190da4a043a4b47e
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

  Changed paths:
    M clang_delta/RemoveNestedFunction.cpp

  Log Message:
  -----------
  Fixed a crash in RemoveNestedFunction

TheStmt and TheCallExpr may share the same start location.
In this case, we should only rewrite the location once.


  Commit: 2e729cca874509ea812c6b0a1f4ae182a692aa46
      https://github.com/csmith-project/creduce/commit/2e729cca874509ea812c6b0a1f4ae182a692aa46
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-02-01 (Mon, 01 Feb 2016)

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

  Log Message:
  -----------
  Merge branch 'master' into llvm-svn-compatible


Compare: https://github.com/csmith-project/creduce/compare/440b6aedb177...2e729cca8745