[all-commits] [llvm/llvm-project] 4728ac: [clangd] Drop TestTUs dependency on gtest

kadir çetinkaya via All-commits all-commits at lists.llvm.org
Mon Jun 7 04:26:03 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4728aca9a8adadc34590e3c930dcf8a32593d846
      https://github.com/llvm/llvm-project/commit/4728aca9a8adadc34590e3c930dcf8a32593d846
  Author: Kadir Cetinkaya <kadircet at google.com>
  Date:   2021-06-07 (Mon, 07 Jun 2021)

  Changed paths:
    M clang-tools-extra/clangd/index/Symbol.cpp
    M clang-tools-extra/clangd/index/Symbol.h
    M clang-tools-extra/clangd/unittests/TestTU.cpp

  Log Message:
  -----------
  [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




More information about the All-commits mailing list