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

[csmith-project/creduce] 587c7e: separate the code path for C and C++



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  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.


Compare: https://github.com/csmith-project/creduce/compare/9b6d912faaac...7ebf7b877d8a