Skip to content

Commit f824d5d

Browse files
committed
Fix formatting and errors
1 parent 03b26a6 commit f824d5d

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

clang-tools-extra/clangd/ClangdServer.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ class ClangdServer {
153153
std::optional<std::string> WorkspaceRoot;
154154

155155
/// Sets an alterante mode of operation. Current effects are:
156-
/// - Using the current working directory as the working directory for fallback commands
156+
/// - Using the current working directory as the working directory for
157+
/// fallback commands
157158
bool StrongWorkspaceMode;
158159

159160
/// The resource directory is used to find internal headers, overriding

clang-tools-extra/clangd/TUScheduler.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,6 @@ class ASTWorker {
723723
const GlobalCompilationDatabase &CDB;
724724
/// Callback invoked when preamble or main file AST is built.
725725
ParsingCallbacks &Callbacks;
726-
bool StrongWorkspaceMode;
727726

728727
Semaphore &Barrier;
729728
/// Whether the 'onMainAST' callback ran for the current FileInputs.

clang-tools-extra/clangd/tool/ClangdMain.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -503,9 +503,10 @@ opt<bool> EnableConfig{
503503
opt<bool> StrongWorkspaceMode{
504504
"strong-workspace-mode",
505505
cat(Features),
506-
desc(
507-
"An alternate mode of operation for clangd, operating more closely to the workspace.\n"
508-
"When enabled, fallback commands use the workspace directory as their working directory instead of the parent folder."),
506+
desc("An alternate mode of operation for clangd, operating more closely to "
507+
"the workspace.\n"
508+
"When enabled, fallback commands use the workspace directory as their "
509+
"working directory instead of the parent folder."),
509510
init(false),
510511
};
511512

0 commit comments

Comments
 (0)