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

[csmith-project/creduce] 0f5fda: Fixed invalid initialiser list if it had an traili...



  Branch: refs/heads/master
  Home:   https://github.com/csmith-project/creduce
  Commit: 0f5fdada67a369127fab70bf76dc1c40aa58792f
      https://github.com/csmith-project/creduce/commit/0f5fdada67a369127fab70bf76dc1c40aa58792f
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

  Changed paths:
    M clang_delta/RemoveUnusedStructField.cpp

  Log Message:
  -----------
  Fixed invalid initialiser list if it had an trailing comma

If an initialiser list had an trailing comma and the last member has
been removed the invalid list "{,}" has been created. In this case the
comma is now also removed.


  Commit: 935bcd51a3a35be7e1c5cd2847670eb4a1ede6f0
      https://github.com/csmith-project/creduce/commit/935bcd51a3a35be7e1c5cd2847670eb4a1ede6f0
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

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

  Log Message:
  -----------
  Initialisers of changed struct are now changed to zero

If the changed struct had initialisers they are now changed to scalar
value of zero (0). It handles nested struct initialisers and array
initialisers inside the struct correctly. Some functions are now
duplicated between these files and RemoveUnusedStructField. Should be
cleaned later on.


  Commit: bd40204c897c88cf143e407d9cb1a2e618b01818
      https://github.com/csmith-project/creduce/commit/bd40204c897c88cf143e407d9cb1a2e618b01818
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

  Changed paths:
    M clang_delta/EmptyStructToInt.cpp

  Log Message:
  -----------
  Updated code style


  Commit: 3980a2e4c106da872cc910a20307193c5d6af78c
      https://github.com/csmith-project/creduce/commit/3980a2e4c106da872cc910a20307193c5d6af78c
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

  Changed paths:
    M clang_delta/EmptyStructToInt.cpp

  Log Message:
  -----------
  Enable rewriting of structs with one unused member in C++


  Commit: 4f829ce95f21e19097eb5496100e51d4c33cfa6a
      https://github.com/csmith-project/creduce/commit/4f829ce95f21e19097eb5496100e51d4c33cfa6a
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-10 (Wed, 10 Jun 2015)

  Changed paths:
    M clang_delta/RemoveUnusedStructField.cpp

  Log Message:
  -----------
  Updated code style


  Commit: 678b596eb00eca6e729916dd2473cf45b3f91eb5
      https://github.com/csmith-project/creduce/commit/678b596eb00eca6e729916dd2473cf45b3f91eb5
  Author: Moritz Pflanzer <mp3414@ic.ac.uk>
  Date:   2015-06-11 (Thu, 11 Jun 2015)

  Changed paths:
    M clang_delta/RemoveUnusedStructField.cpp

  Log Message:
  -----------
  Code style and removed unnecessary if branch


  Commit: 8f991fe2ec78ca8ae8ad272803e1addc8a2fd288
      https://github.com/csmith-project/creduce/commit/8f991fe2ec78ca8ae8ad272803e1addc8a2fd288
  Author: Moritz Pflanzer <moritz@pflanzer.eu>
  Date:   2015-07-01 (Wed, 01 Jul 2015)

  Changed paths:
    M clang_delta/EmptyStructToInt.cpp

  Log Message:
  -----------
  Check only explicit members


  Commit: 49782e7184aa99eb67cda3737ce02ee1baa31560
      https://github.com/csmith-project/creduce/commit/49782e7184aa99eb67cda3737ce02ee1baa31560
  Author: Yang Chen <chenyang@cs.utah.edu>
  Date:   2015-07-01 (Wed, 01 Jul 2015)

  Changed paths:
    M clang_delta/EmptyStructToInt.cpp
    M clang_delta/EmptyStructToInt.h
    M clang_delta/RemoveUnusedStructField.cpp

  Log Message:
  -----------
  Merge pull request #55 from mpflanzer/struct_init

Improved transformations on structs


Compare: https://github.com/csmith-project/creduce/compare/bcc46cd14019...49782e7184aa