[CodeCompletion] 'case' keyword completion at the top of 'switch' stmt

rdar://problem/35943849
This commit is contained in:
Rintaro Ishizaki
2019-03-18 16:58:52 -07:00
parent d58c072ab7
commit fd542e267c
5 changed files with 44 additions and 3 deletions

View File

@@ -165,6 +165,9 @@ public:
/// Complete a given type-identifier when there is no trailing dot.
virtual void completeTypeIdentifierWithoutDot(IdentTypeRepr *ITR) {};
/// Complete the beginning of a case statement at the top of switch stmt.
virtual void completeCaseStmtKeyword() {};
/// Complete at the beginning of a case stmt pattern.
virtual void completeCaseStmtBeginning() {};