[all-commits] [llvm/llvm-project] 3432f4: [test] Split out Annotations from `TestingSupport`

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Thu Jan 12 13:41:03 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3432f4bf86e7c77666ae9dede1610ae843dde648
      https://github.com/llvm/llvm-project/commit/3432f4bf86e7c77666ae9dede1610ae843dde648
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2023-01-12 (Thu, 12 Jan 2023)

  Changed paths:
    M clang-tools-extra/clangd/unittests/Annotations.h
    M clang-tools-extra/clangd/unittests/CMakeLists.txt
    M clang-tools-extra/clangd/unittests/CodeCompleteTests.cpp
    M clang-tools-extra/clangd/unittests/FindTargetTests.cpp
    M clang-tools-extra/clangd/unittests/SourceCodeTests.cpp
    M clang-tools-extra/clangd/unittests/tweaks/TweakTesting.h
    M clang-tools-extra/include-cleaner/unittests/AnalysisTest.cpp
    M clang-tools-extra/include-cleaner/unittests/CMakeLists.txt
    M clang-tools-extra/include-cleaner/unittests/FindHeadersTest.cpp
    M clang-tools-extra/include-cleaner/unittests/LocateSymbolTest.cpp
    M clang-tools-extra/include-cleaner/unittests/RecordTest.cpp
    M clang-tools-extra/include-cleaner/unittests/WalkASTTest.cpp
    M clang-tools-extra/pseudo/unittests/BracketTest.cpp
    M clang-tools-extra/pseudo/unittests/CMakeLists.txt
    M clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
    M clang-tools-extra/unittests/clang-tidy/ClangTidyOptionsTest.cpp
    M clang/docs/tools/clang-formatted-files.txt
    M clang/unittests/AST/CMakeLists.txt
    M clang/unittests/AST/DeclTest.cpp
    M clang/unittests/AST/SourceLocationTest.cpp
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    M clang/unittests/Analysis/FlowSensitive/SignAnalysisTest.cpp
    M clang/unittests/Analysis/FlowSensitive/SingleVarConstantPropagationTest.cpp
    M clang/unittests/Analysis/FlowSensitive/TestingSupport.cpp
    M clang/unittests/Analysis/FlowSensitive/TestingSupport.h
    M clang/unittests/Analysis/FlowSensitive/TransferBranchTest.cpp
    M clang/unittests/Sema/CMakeLists.txt
    M clang/unittests/Sema/CodeCompleteTest.cpp
    M clang/unittests/Tooling/CMakeLists.txt
    M clang/unittests/Tooling/SourceCodeTest.cpp
    M clang/unittests/Tooling/Syntax/CMakeLists.txt
    M clang/unittests/Tooling/Syntax/TokensTest.cpp
    M clang/unittests/Tooling/Syntax/TreeTestBase.cpp
    M clang/unittests/Tooling/Syntax/TreeTestBase.h
    A llvm/include/llvm/Testing/Annotations/Annotations.h
    R llvm/include/llvm/Testing/Support/Annotations.h
    A llvm/lib/Testing/Annotations/Annotations.cpp
    A llvm/lib/Testing/Annotations/CMakeLists.txt
    M llvm/lib/Testing/CMakeLists.txt
    R llvm/lib/Testing/Support/Annotations.cpp
    M llvm/lib/Testing/Support/CMakeLists.txt
    R llvm/unittests/Support/AnnotationsTest.cpp
    M llvm/unittests/Support/CMakeLists.txt
    A llvm/unittests/Testing/Annotations/AnnotationsTest.cpp
    A llvm/unittests/Testing/Annotations/CMakeLists.txt
    M llvm/unittests/Testing/CMakeLists.txt
    M utils/bazel/llvm-project-overlay/clang/unittests/BUILD.bazel
    M utils/bazel/llvm-project-overlay/llvm/BUILD.bazel

  Log Message:
  -----------
  [test] Split out Annotations from `TestingSupport`

The Annotations helper class does not have a gtest or gmock dependency, but because it's bundled with the rest of TestingSupport, it gets one. By splitting it out, a target can use it without being forced to use LLVM's copy of gtest.

Reviewed By: GMNGeoffrey, sammccall, gribozavr2

Differential Revision: https://reviews.llvm.org/D141175




More information about the All-commits mailing list