[clangd] Drop TestTUs dependency on gtest
authorKadir Cetinkaya <kadircet@google.com>
Fri, 4 Jun 2021 11:32:17 +0000 (13:32 +0200)
committerKadir Cetinkaya <kadircet@google.com>
Mon, 7 Jun 2021 11:25:22 +0000 (13:25 +0200)
commit4728aca9a8adadc34590e3c930dcf8a32593d846
tree7106c61946e56658cc0fe870169149f4c384374f
parent60c9b5f35caeb555f66d261bf5a657ab02a35fef
[clangd] Drop TestTUs dependency on gtest

TestTU now prints errors to llvm::errs and aborts on failures via
llvm_unreachable, rather than executing ASSERT_FALSE.

We'd like to make use of these testing libraries in different test suits that
might be compiling with a different gtest version than LLVM has.

Differential Revision: https://reviews.llvm.org/D103685
clang-tools-extra/clangd/index/Symbol.cpp
clang-tools-extra/clangd/index/Symbol.h
clang-tools-extra/clangd/unittests/TestTU.cpp