Skip to content

Commit d31718f

Browse files
committed
[NFC] SIL: Replace two forward decls with imports.
The type layouts are required to use the type in a PointerUnion.
1 parent 83192bc commit d31718f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/SIL/SILDeclRef.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#ifndef SWIFT_SIL_SILDECLREF_H
2020
#define SWIFT_SIL_SILDECLREF_H
2121

22+
#include "swift/AST/Attr.h"
23+
#include "swift/AST/AutoDiff.h"
2224
#include "swift/AST/AvailabilityRange.h"
2325
#include "swift/AST/ClangNode.h"
2426
#include "swift/AST/GenericSignature.h"
@@ -36,7 +38,6 @@ namespace swift {
3638
enum class EffectsKind : uint8_t;
3739
class AbstractFunctionDecl;
3840
class AbstractClosureExpr;
39-
class AutoDiffDerivativeFunctionIdentifier;
4041
class ValueDecl;
4142
class FuncDecl;
4243
class ClosureExpr;
@@ -53,7 +54,6 @@ namespace swift {
5354
enum class SILLinkage : uint8_t;
5455
class AnyFunctionRef;
5556
class GenericSignature;
56-
class CustomAttr;
5757

5858
/// How a method is dispatched.
5959
enum class MethodDispatch {

0 commit comments

Comments
 (0)