We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 872d4ff commit ff2507bCopy full SHA for ff2507b
include/swift/Sema/ConstraintSystem.h
@@ -588,6 +588,19 @@ class TypeVariableType::Implementation {
588
589
/// Print the type variable to the given output stream.
590
void print(llvm::raw_ostream &OS);
591
+
592
+private:
593
+ StringRef getTypeVariableOptions(TypeVariableOptions TVO) const {
594
+ #define ENTRY(Kind, String) case TypeVariableOptions::Kind: return String
595
+ switch (TVO) {
596
+ ENTRY(TVO_CanBindToLValue, "lvalue");
597
+ ENTRY(TVO_CanBindToInOut, "inout");
598
+ ENTRY(TVO_CanBindToNoEscape, "noescape");
599
+ ENTRY(TVO_CanBindToHole, "hole");
600
+ ENTRY(TVO_PrefersSubtypeBinding, "");
601
+ }
602
+ #undef ENTRY
603
604
};
605
606
namespace constraints {
0 commit comments