Skip to content

Commit 62bfb84

Browse files
committed
spelling: typecheck
Signed-off-by: Josh Soref <[email protected]>
1 parent 8d63e0a commit 62bfb84

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
@@ -233,14 +233,14 @@ bool CompletionInstance::performCachedOperationIfPossible(
233233
tmpSM.setCodeCompletionPoint(tmpBufferID, Offset);
234234

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

0 commit comments

Comments
 (0)