[all-commits] [llvm/llvm-project] 5ffd9b: [cmake] Refactor clang unittest cmake (#133545)

Reid Kleckner via All-commits all-commits at lists.llvm.org
Tue Apr 1 14:13:06 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5ffd9bdb50b5753bbf668e4eab3647dfb46cd0d6
      https://github.com/llvm/llvm-project/commit/5ffd9bdb50b5753bbf668e4eab3647dfb46cd0d6
  Author: Reid Kleckner <rnk at google.com>
  Date:   2025-04-01 (Tue, 01 Apr 2025)

  Changed paths:
    M clang/unittests/AST/ByteCode/CMakeLists.txt
    M clang/unittests/AST/CMakeLists.txt
    M clang/unittests/ASTMatchers/CMakeLists.txt
    M clang/unittests/ASTMatchers/Dynamic/CMakeLists.txt
    M clang/unittests/Analysis/CMakeLists.txt
    M clang/unittests/Analysis/FlowSensitive/CMakeLists.txt
    M clang/unittests/Basic/CMakeLists.txt
    M clang/unittests/CMakeLists.txt
    M clang/unittests/CodeGen/CMakeLists.txt
    M clang/unittests/CrossTU/CMakeLists.txt
    M clang/unittests/DirectoryWatcher/CMakeLists.txt
    M clang/unittests/Driver/CMakeLists.txt
    M clang/unittests/Format/CMakeLists.txt
    M clang/unittests/Frontend/CMakeLists.txt
    M clang/unittests/Index/CMakeLists.txt
    M clang/unittests/InstallAPI/CMakeLists.txt
    M clang/unittests/Interpreter/CMakeLists.txt
    M clang/unittests/Interpreter/ExceptionTests/CMakeLists.txt
    M clang/unittests/Lex/CMakeLists.txt
    M clang/unittests/Rewrite/CMakeLists.txt
    M clang/unittests/Sema/CMakeLists.txt
    M clang/unittests/Serialization/CMakeLists.txt
    M clang/unittests/StaticAnalyzer/CMakeLists.txt
    M clang/unittests/Support/CMakeLists.txt
    M clang/unittests/Tooling/CMakeLists.txt
    M clang/unittests/Tooling/Syntax/CMakeLists.txt
    M clang/unittests/libclang/CMakeLists.txt
    M clang/unittests/libclang/CrashTests/CMakeLists.txt

  Log Message:
  -----------
  [cmake] Refactor clang unittest cmake (#133545)

Pass all the dependencies into add_clang_unittest. This is consistent
with how it is done for LLDB. I borrowed the same named argument list
structure from add_lldb_unittest. This is a necessary step towards
consolidating unit tests into fewer binaries, but seems like a good
refactoring in its own right.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list