Skip to content

Commit b8c61f4

Browse files
committed
spelling: typecheck
Signed-off-by: Josh Soref <[email protected]>
1 parent 4aa8e1d commit b8c61f4

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lib/IDE/CompileInstance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ getModifiedFunctionDeclList(const SourceFile &SF, SourceManager &tmpSM,
121121
// Parse the new buffer into temporary SourceFile.
122122

123123
LangOptions langOpts = ctx.LangOpts;
124-
TypeCheckerOptions typeckOpts = ctx.TypeCheckerOpts;
124+
TypeCheckerOptions typecheckOpts = ctx.TypeCheckerOpts;
125125
SearchPathOptions searchPathOpts = ctx.SearchPathOpts;
126126
ClangImporterOptions clangOpts = ctx.ClangImporterOpts;
127127
SILOptions silOpts = ctx.SILOpts;
128128
symbolgraphgen::SymbolGraphOptions symbolOpts = ctx.SymbolGraphOpts;
129129

130130
DiagnosticEngine tmpDiags(tmpSM);
131-
auto &tmpCtx = *ASTContext::get(langOpts, typeckOpts, silOpts, searchPathOpts,
131+
auto &tmpCtx = *ASTContext::get(langOpts, typecheckOpts, silOpts, searchPathOpts,
132132
clangOpts, symbolOpts, tmpSM, tmpDiags);
133133
registerParseRequestFunctions(tmpCtx.evaluator);
134134
registerTypeCheckerRequestFunctions(tmpCtx.evaluator);

lib/IDE/CompletionInstance.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,14 +234,14 @@ bool CompletionInstance::performCachedOperationIfPossible(
234234
tmpSM.setCodeCompletionPoint(tmpBufferID, Offset);
235235

236236
LangOptions langOpts = CI.getASTContext().LangOpts;
237-
TypeCheckerOptions typeckOpts = CI.getASTContext().TypeCheckerOpts;
237+
TypeCheckerOptions typecheckOpts = CI.getASTContext().TypeCheckerOpts;
238238
SILOptions silOpts = CI.getASTContext().SILOpts;
239239
SearchPathOptions searchPathOpts = CI.getASTContext().SearchPathOpts;
240240
DiagnosticEngine tmpDiags(tmpSM);
241241
ClangImporterOptions clangOpts;
242242
symbolgraphgen::SymbolGraphOptions symbolOpts;
243243
std::unique_ptr<ASTContext> tmpCtx(
244-
ASTContext::get(langOpts, typeckOpts, silOpts, searchPathOpts, clangOpts,
244+
ASTContext::get(langOpts, typecheckOpts, silOpts, searchPathOpts, clangOpts,
245245
symbolOpts, tmpSM, tmpDiags));
246246
tmpCtx->CancellationFlag = CancellationFlag;
247247
registerParseRequestFunctions(tmpCtx->evaluator);

0 commit comments

Comments
 (0)