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