[clangd] Move gtest include to TestTU.cpp from TestTU.h
authorKadir Cetinkaya <kadircet@google.com>
Mon, 31 May 2021 05:42:15 +0000 (07:42 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Mon, 31 May 2021 05:56:56 +0000 (07:56 +0200)
clang-tools-extra/clangd/unittests/TestTU.cpp
clang-tools-extra/clangd/unittests/TestTU.h
clang-tools-extra/clangd/unittests/TestWorkspace.cpp

index b0c0d1b..36f4290 100644 (file)
@@ -17,6 +17,7 @@
 #include "clang/Frontend/CompilerInvocation.h"
 #include "clang/Frontend/Utils.h"
 #include "llvm/ADT/ScopeExit.h"
+#include "gtest/gtest.h"
 
 namespace clang {
 namespace clangd {
index 3e0c089..2542e8f 100644 (file)
@@ -25,7 +25,6 @@
 #include "index/Index.h"
 #include "support/Path.h"
 #include "llvm/ADT/StringMap.h"
-#include "gtest/gtest.h"
 #include <memory>
 #include <string>
 #include <utility>
index 52cf45f..84e6132 100644 (file)
@@ -7,6 +7,7 @@
 //===----------------------------------------------------------------------===//
 
 #include "TestWorkspace.h"
+#include "gtest/gtest.h"
 
 namespace clang {
 namespace clangd {
@@ -46,4 +47,4 @@ void TestWorkspace::addInput(llvm::StringRef Filename,
   TU.AdditionalFiles.insert(std::make_pair(Filename, Input.Code));
 }
 } // namespace clangd
-} // namespace clang
\ No newline at end of file
+} // namespace clang