Skip to content

Commit cdd8fe9

Browse files
authored
Merge pull request #76860 from rintaro/astgen-split-bridging
[ASTGen] Split ASTBridging.cpp into multiple files
2 parents 106c743 + b585924 commit cdd8fe9

17 files changed

+3085
-2824
lines changed

include/swift/AST/ASTBridging.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,6 +1638,16 @@ void BridgedStmt_dump(BridgedStmt statement);
16381638
// MARK: TypeAttributes
16391639
//===----------------------------------------------------------------------===//
16401640

1641+
#ifdef USED_IN_CPP_SOURCE
1642+
namespace swift {
1643+
class TypeAttributes {
1644+
public:
1645+
SmallVector<TypeOrCustomAttr> attrs;
1646+
TypeAttributes() {}
1647+
};
1648+
} // namespace swift
1649+
#endif
1650+
16411651
// Bridged type attribute kinds, which mirror TypeAttrKind exactly.
16421652
enum ENUM_EXTENSIBILITY_ATTR(closed) BridgedTypeAttrKind {
16431653
#define TYPE_ATTR(_, CLASS) BridgedTypeAttrKind##CLASS,

0 commit comments

Comments
 (0)