Skip to content

Commit 2261028

Browse files
committed
fmt
1 parent 0ffb403 commit 2261028

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

clang-tools-extra/clangd/ModulesBuilder.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ bool IsModuleFileUpToDate(PathRef ModuleFilePath,
138138

139139
clang::clangd::IgnoreDiagnostics IgnoreDiags;
140140
IntrusiveRefCntPtr<DiagnosticsEngine> Diags =
141-
CompilerInstance::createDiagnostics(new DiagnosticOptions, &IgnoreDiags, /*ShouldOwnClient=*/false);
141+
CompilerInstance::createDiagnostics(new DiagnosticOptions, &IgnoreDiags,
142+
/*ShouldOwnClient=*/false);
142143

143144
LangOptions LangOpts;
144145
LangOpts.SkipODRCheckInGMF = true;
@@ -159,7 +160,8 @@ bool IsModuleFileUpToDate(PathRef ModuleFilePath,
159160
ASTReader Reader(PP, *ModuleCache, /*ASTContext=*/nullptr,
160161
PCHOperations.getRawReader(), {});
161162

162-
// We don't need any listener here. By default it will use a validator listener.
163+
// We don't need any listener here. By default it will use a validator
164+
// listener.
163165
Reader.setListener(nullptr);
164166

165167
if (Reader.ReadAST(ModuleFilePath, serialization::MK_MainFile,

0 commit comments

Comments
 (0)