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 e9c51a0 commit 566a84dCopy full SHA for 566a84d
lib/IDE/CodeCompletion.cpp
@@ -695,7 +695,7 @@ void CodeCompletionResult::print(raw_ostream &OS) const {
695
Prefix.append(Twine(NumBytesToErase).str());
696
Prefix.append("]");
697
}
698
- switch (TypeDistance) {
+ switch (ExpectedTypeRelation(TypeDistance)) {
699
case ExpectedTypeRelation::Invalid:
700
Prefix.append("/TypeRelation[Invalid]");
701
break;
@@ -705,6 +705,8 @@ void CodeCompletionResult::print(raw_ostream &OS) const {
705
case ExpectedTypeRelation::Convertible:
706
Prefix.append("/TypeRelation[Convertible]");
707
708
+ case ExpectedTypeRelation::NotApplicable:
709
+ case ExpectedTypeRelation::Unknown:
710
case ExpectedTypeRelation::Unrelated:
711
712
0 commit comments