Skip to content

Commit 033ddff

Browse files
authored
[AutoDiff] NFC: gardening. (swiftlang#28928)
Upstream minor changes from `tensorflow` branch.
1 parent 724ccf0 commit 033ddff

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

include/swift/AST/Attr.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1755,10 +1755,10 @@ class DifferentiableAttr final
17551755

17561756
// Print the attribute to the given stream.
17571757
// If `omitWrtClause` is true, omit printing the `wrt:` clause.
1758-
// If `omitAssociatedFunctions` is true, omit printing associated functions.
1758+
// If `omitDerivativeFunctions` is true, omit printing derivative functions.
17591759
void print(llvm::raw_ostream &OS, const Decl *D,
17601760
bool omitWrtClause = false,
1761-
bool omitAssociatedFunctions = false) const;
1761+
bool omitDerivativeFunctions = false) const;
17621762

17631763
static bool classof(const DeclAttribute *DA) {
17641764
return DA->getKind() == DAK_Differentiable;
@@ -1789,7 +1789,7 @@ class DerivativeAttr final
17891789
private llvm::TrailingObjects<DerivativeAttr, ParsedAutoDiffParameter> {
17901790
friend TrailingObjects;
17911791

1792-
/// The base type repr for the referenced original function. This field is
1792+
/// The base type for the referenced original declaration. This field is
17931793
/// non-null only for parsed attributes that reference a qualified original
17941794
/// declaration. This field is not serialized; type-checking uses it to
17951795
/// resolve the original declaration, which is serialized.
@@ -1883,7 +1883,7 @@ class TransposeAttr final
18831883
private llvm::TrailingObjects<TransposeAttr, ParsedAutoDiffParameter> {
18841884
friend TrailingObjects;
18851885

1886-
/// The base type repr for the referenced original function. This field is
1886+
/// The base type for the referenced original declaration. This field is
18871887
/// non-null only for parsed attributes that reference a qualified original
18881888
/// declaration. This field is not serialized; type-checking uses it to
18891889
/// resolve the original declaration, which is serialized.

0 commit comments

Comments
 (0)