File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -621,10 +621,19 @@ template<> Can##ID##Type SILType::getAs<ID##Type>() const = delete; \
621
621
template <> Can##ID##Type SILType::castTo<ID##Type>() const = delete ; \
622
622
template <> bool SILType::is<ID##Type>() const = delete ;
623
623
NON_SIL_TYPE (Function)
624
+ NON_SIL_TYPE (GenericFunction)
624
625
NON_SIL_TYPE (AnyFunction)
625
626
NON_SIL_TYPE (LValue)
627
+ NON_SIL_TYPE (InOut)
626
628
#undef NON_SIL_TYPE
627
629
630
+ #define TYPE (ID, PARENT )
631
+ #define UNCHECKED_TYPE (ID, PARENT ) \
632
+ template <> Can##ID##Type SILType::getAs<ID##Type>() const = delete ; \
633
+ template <> Can##ID##Type SILType::castTo<ID##Type>() const = delete ; \
634
+ template <> bool SILType::is<ID##Type>() const = delete ;
635
+ #include " swift/AST/TypeNodes.def"
636
+
628
637
inline llvm::raw_ostream &operator <<(llvm::raw_ostream &OS, SILType T) {
629
638
T.print (OS);
630
639
return OS;
You can’t perform that action at this time.
0 commit comments