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

[csmith-project/creduce] a5ead7: remove the variable definition from its spelling l...



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: a5ead7f02da7a32307ff08e2a4d25d359ecc1769
      https://github.com/csmith-project/creduce/commit/a5ead7f02da7a32307ff08e2a4d25d359ecc1769
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2015-08-04 (Tue, 04 Aug 2015)

  Changed paths:
    M clang_delta/LocalToGlobal.cpp
    M clang_delta/RewriteUtils.cpp

  Log Message:
  -----------
  remove the variable definition from its spelling loc

When rewrite non-preprocessed files, we need to be
careful about macros. We should remove the variable
definition from its spelling location if the definition
comes from a macro.