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

[csmith-project/creduce] 579c58: check if unions are declared in the main file



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 579c584273c0d95f6249a388343491085b5b6450
      https://github.com/csmith-project/creduce/commit/579c584273c0d95f6249a388343491085b5b6450
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2016-01-18 (Mon, 18 Jan 2016)

  Changed paths:
    M clang_delta/UnionToStruct.cpp

  Log Message:
  -----------
  check if unions are declared in the main file

Patch provided by Johan Bengtsson.

The UnionToStruct transformation did not check that the considered
unions are declared in the main file.