Skip to content

Commit b803334

Browse files
committed
spelling: syntax
Signed-off-by: Josh Soref <[email protected]>
1 parent 685260e commit b803334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/IDE/CodeCompletion.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ class CodeCompletionCallbacksImpl : public CodeCompletionCallbacks {
118118
/// In situations when \c SyntaxKind hints or determines
119119
/// completions, i.e. a precedence group attribute, this
120120
/// can be set and used to control the code completion scenario.
121-
SyntaxKind SyntxKind;
121+
SyntaxKind SyntaxKind_;
122122

123123
int AttrParamIndex;
124124
bool IsInSil = false;
@@ -452,7 +452,7 @@ void CodeCompletionCallbacksImpl::completeDeclAttrBeginning(
452452
void CodeCompletionCallbacksImpl::completeInPrecedenceGroup(SyntaxKind SK) {
453453
assert(P.Tok.is(tok::code_complete));
454454

455-
SyntxKind = SK;
455+
SyntaxKind_ = SK;
456456
Kind = CompletionKind::PrecedenceGroup;
457457
CurDeclContext = P.CurDeclContext;
458458
}
@@ -1873,7 +1873,7 @@ void CodeCompletionCallbacksImpl::doneParsing() {
18731873
break;
18741874
}
18751875
case CompletionKind::PrecedenceGroup:
1876-
Lookup.getPrecedenceGroupCompletions(SyntxKind);
1876+
Lookup.getPrecedenceGroupCompletions(SyntaxKind_);
18771877
break;
18781878
case CompletionKind::StmtLabel: {
18791879
SourceLoc Loc = P.Context.SourceMgr.getCodeCompletionLoc();

0 commit comments

Comments
 (0)