[dmd-internals] [D-Programming-Language/dmd] 3dc08b: fix Issue 12045 - Destructor call omitted for NRVO...

GitHub noreply at github.com
Thu Feb 13 15:50:02 PST 2014


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/dmd
  Commit: 3dc08b365d91f4cb70c7c31418c040ad6d4493a0
      https://github.com/D-Programming-Language/dmd/commit/3dc08b365d91f4cb70c7c31418c040ad6d4493a0
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M src/declaration.h
    M src/func.c
    M src/s2ir.c
    M src/statement.h
    M test/runnable/sdtor.d

  Log Message:
  -----------
  fix Issue 12045 - Destructor call omitted for NRVO'd struct in exceptional case


  Commit: 4add2200468732b5147c9907b9fa5b1b16fa7498
      https://github.com/D-Programming-Language/dmd/commit/4add2200468732b5147c9907b9fa5b1b16fa7498
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M src/declaration.h
    M src/func.c
    M src/s2ir.c
    M test/runnable/sdtor.d

  Log Message:
  -----------
  Use Visitor for correct AST rewriting and CTFE interpretation


  Commit: 3ace813a77485183b54e4e059da8c7cdc3bfcc53
      https://github.com/D-Programming-Language/dmd/commit/3ace813a77485183b54e4e059da8c7cdc3bfcc53
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M src/declaration.h
    M src/func.c
    M src/statement.c

  Log Message:
  -----------
  [Refactoring] Do return exp tweaking also in NrvoWalker


  Commit: e99cc57f129ca7370e4b07019e843ef220028d9c
      https://github.com/D-Programming-Language/dmd/commit/e99cc57f129ca7370e4b07019e843ef220028d9c
  Author: k-hara <k.hara.pg at gmail.com>
  Date:   2014-02-12 (Wed, 12 Feb 2014)

  Changed paths:
    M test/compilable/interpret3.d

  Log Message:
  -----------
  fix Issue 10929 - [CTFE] Destructor errornously gets called on NRVO-ed structs?


  Commit: a9ec782edfb80f8732cc5b1e903f85cab0959c7b
      https://github.com/D-Programming-Language/dmd/commit/a9ec782edfb80f8732cc5b1e903f85cab0959c7b
  Author: Walter Bright <walter at walterbright.com>
  Date:   2014-02-13 (Thu, 13 Feb 2014)

  Changed paths:
    M src/declaration.h
    M src/func.c
    M src/s2ir.c
    M src/statement.c
    M src/statement.h
    M test/compilable/interpret3.d
    M test/runnable/sdtor.d

  Log Message:
  -----------
  Merge pull request #3184 from 9rnsr/fix12045

Issue 12045 - Destructor call omitted for NRVO'd struct in exceptional case


Compare: https://github.com/D-Programming-Language/dmd/compare/cd5f5cac9963...a9ec782edfb8


More information about the dmd-internals mailing list