[phobos] [D-Programming-Language/phobos] 26c7cb: Added SetFunctionAttributes.

GitHub noreply at github.com
Mon May 28 13:53:38 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/D-Programming-Language/phobos
  Commit: 26c7cb27e9e5fa2872850f984477a78b2677e138
      https://github.com/D-Programming-Language/phobos/commit/26c7cb27e9e5fa2872850f984477a78b2677e138
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Added SetFunctionAttributes.


  Commit: c1d3d745c27c58ea15b4a3a7b3c9886698ba5cc5
      https://github.com/D-Programming-Language/phobos/commit/c1d3d745c27c58ea15b4a3a7b3c9886698ba5cc5
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Added "System" linkage to SetFunctionAttributes.

It is not clear whether the accepted linkage types should be restricted at all; currently, the set of acceptable names is strictly specified in the grammar, but it is conceivable that other compiler implementations provide additional types, e.g. extern(Java), which SetFunctionAttributes could work with as well without any required changes. However, without the restriction, mistyped arguments would potentially give users a confusing error message in string mixin code…


  Commit: 9c32cd71e22904c458ef227f0c76e217381a9c6b
      https://github.com/D-Programming-Language/phobos/commit/9c32cd71e22904c458ef227f0c76e217381a9c6b
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Clarified that SetFunctionAttributes accepts a combination of FunctionAttributes.


  Commit: 477bc0265847c47109d08dec95487be2710e1c8b
      https://github.com/D-Programming-Language/phobos/commit/477bc0265847c47109d08dec95487be2710e1c8b
  Author: David Nadlinger <code at klickverbot.at>
  Date:   2012-05-11 (Fri, 11 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Removed default parameters for SetFunctionAttributes.

They were hardly useful and deemed potentially confusing, because not specifying them did not mean that no change should occur, which would arguably be the expected behavior.


  Commit: 5d423fecc8d2e2f2d83440a1968e10ead5ae9381
      https://github.com/D-Programming-Language/phobos/commit/5d423fecc8d2e2f2d83440a1968e10ead5ae9381
  Author: Jonathan M Davis <jmdavisProg at gmx.com>
  Date:   2012-05-28 (Mon, 28 May 2012)

  Changed paths:
    M std/traits.d

  Log Message:
  -----------
  Merge pull request #555 from klickverbot/func-attr

std.traits: Add SetFunctionAttributes.


Compare: https://github.com/D-Programming-Language/phobos/compare/3115e61...5d423fe


More information about the phobos mailing list