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

[csmith-project/creduce] 3db3d2: Fixed a crash on invalid location



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 3db3d2fd96fb62294d0ee954ee95828ff2804b24
      https://github.com/csmith-project/creduce/commit/3db3d2fd96fb62294d0ee954ee95828ff2804b24
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-04-15 (Fri, 15 Apr 2016)

  Changed paths:
    M clang_delta/RewriteUtils.cpp

  Log Message:
  -----------
  Fixed a crash on invalid location

* give up if both StartLoc and EndLoc are invalid;

* cleanup code a bit