[clang-tools-extra] r313749 - [clangd] Run clang-format on ClangdUnit.cpp. NFC.

Ilya Biryukov via cfe-commits cfe-commits at lists.llvm.org
Wed Sep 20 03:46:58 PDT 2017


Author: ibiryukov
Date: Wed Sep 20 03:46:58 2017
New Revision: 313749

URL: http://llvm.org/viewvc/llvm-project?rev=313749&view=rev
Log:
[clangd] Run clang-format on ClangdUnit.cpp. NFC.

Modified:
    clang-tools-extra/trunk/clangd/ClangdUnit.cpp

Modified: clang-tools-extra/trunk/clangd/ClangdUnit.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/ClangdUnit.cpp?rev=313749&r1=313748&r2=313749&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/ClangdUnit.cpp (original)
+++ clang-tools-extra/trunk/clangd/ClangdUnit.cpp Wed Sep 20 03:46:58 2017
@@ -9,6 +9,7 @@
 
 #include "ClangdUnit.h"
 
+#include "Logger.h"
 #include "clang/Frontend/CompilerInstance.h"
 #include "clang/Frontend/CompilerInvocation.h"
 #include "clang/Frontend/FrontendActions.h"
@@ -26,7 +27,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/CrashRecoveryContext.h"
 #include "llvm/Support/Format.h"
-#include "Logger.h"
 
 #include <algorithm>
 #include <chrono>
@@ -894,7 +894,8 @@ PreambleData::PreambleData(PrecompiledPr
 
 std::shared_ptr<CppFile>
 CppFile::Create(PathRef FileName, tooling::CompileCommand Command,
-                std::shared_ptr<PCHContainerOperations> PCHs, clangd::Logger &Logger) {
+                std::shared_ptr<PCHContainerOperations> PCHs,
+                clangd::Logger &Logger) {
   return std::shared_ptr<CppFile>(
       new CppFile(FileName, std::move(Command), std::move(PCHs), Logger));
 }




More information about the cfe-commits mailing list