[clangd] Move gtest include to TestTU.cpp from TestTU.h

This commit is contained in:
Kadir Cetinkaya 2021-05-31 07:42:15 +02:00
parent 4f2fd3818b
commit e972068840
No known key found for this signature in database
GPG Key ID: E39E36B8D2057ED6
3 changed files with 3 additions and 2 deletions

View 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 {

View 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>

View 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
} // namespace clang