swift
67423687 - [AutoDiff] NFC: `@differentiable` attribute gardening. (#28666)

Commit
5 years ago
[AutoDiff] NFC: `@differentiable` attribute gardening. (#28666) - Move `DifferentiableAttr` definition above `DeclAttributes` in include/swift/AST/Attr.h, like other attributes. - Remove unnecessary arguments from `DifferentiableAttr::DifferentiableAttr` and `DifferentiableAttr::setDerivativeGenericSignature`. - Add libSyntax test for `@differentiable` attributes.
Author
Parents
  • include/swift/AST
    • File
      Attr.h
  • lib/AST
    • File
      Attr.cpp
  • test/AutoDiff/Syntax
    • Outputs
      • round_trip_parse_gen.swift.withkinds
    • File
      round_trip_parse_gen.swift