Skip to content

Commit 8793d4c

Browse files
committed
Fix format.
1 parent 3b93252 commit 8793d4c

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

clang-tools-extra/clangd/ClangdLSPServer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ClangdLSPServer : private ClangdServer::Callbacks,
7373
/// The destructor blocks on any outstanding background tasks.
7474
~ClangdLSPServer();
7575

76-
ClangdLSPServer(const ClangdLSPServer& other) = default;
76+
ClangdLSPServer(const ClangdLSPServer &other) = default;
7777
ClangdLSPServer &operator=(const ClangdLSPServer &other) = default;
7878

7979
/// Run LSP server loop, communicating with the Transport provided in the

clang-tools-extra/clangd/TUScheduler.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,8 @@ class PreambleThrottlerRequest {
412412
Throttler->release(ID);
413413
}
414414
PreambleThrottlerRequest(const PreambleThrottlerRequest &) = default;
415-
PreambleThrottlerRequest &operator=(const PreambleThrottlerRequest &) = default;
415+
PreambleThrottlerRequest &
416+
operator=(const PreambleThrottlerRequest &) = default;
416417

417418
private:
418419
PreambleThrottler::RequestID ID;

clang-tools-extra/clangd/TUScheduler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ class TUScheduler {
243243
~TUScheduler();
244244

245245
TUScheduler(const TUScheduler &other) = default;
246-
TUScheduler& operator=(const TUScheduler& other) = default;
246+
TUScheduler &operator=(const TUScheduler &other) = default;
247247

248248
struct FileStats {
249249
std::size_t UsedBytesAST = 0;

clang-tools-extra/clangd/support/DirectiveTree.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,8 @@ class Preprocessor {
328328
Preprocessor(const TokenStream &In, TokenStream &Out) : In(In), Out(Out) {}
329329
~Preprocessor() { Out.finalize(); }
330330

331-
Preprocessor(const Preprocessor&) = default; // Default copy constructor
332-
Preprocessor& operator=(const Preprocessor&) = default; // Default copy assignment operator
331+
Preprocessor(const Preprocessor &other) = default;
332+
Preprocessor &operator=(const Preprocessor &other) = default;
333333

334334
void walk(const DirectiveTree &T) {
335335
for (const auto &C : T.Chunks)

0 commit comments

Comments
 (0)