[all-commits] [llvm/llvm-project] 18b4a8: [clang-tidy] Rename the make-confusable-table exec...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Jul 28 02:01:11 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18b4a8bcf3553174f770f09528c9bd01c8cebfe7
      https://github.com/llvm/llvm-project/commit/18b4a8bcf3553174f770f09528c9bd01c8cebfe7
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt
    M clang-tools-extra/clang-tidy/misc/ConfusableTable/CMakeLists.txt
    M llvm/utils/gn/secondary/clang-tools-extra/clang-tidy/misc/ConfusableTable/BUILD.gn

  Log Message:
  -----------
  [clang-tidy] Rename the make-confusable-table executable

Rename it to clang-tidy-confusable-chars-gen, to make its role
clearer in a wider context.

In cross builds, the caller might want to provide this tool
externally (to avoid needing to rebuild it in the cross build).
In such a case, having the tool properly namespaced makes its role
clearer.

This matches how the clang-pseudo-gen tool was renamed in
a43fef05d4fae32f02365c7b8fef2aa631d23628 / D126725.

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


  Commit: dc95d0c525636aed53a3b38258efa2dff4c83edf
      https://github.com/llvm/llvm-project/commit/dc95d0c525636aed53a3b38258efa2dff4c83edf
  Author: Martin Storsjö <martin at martin.st>
  Date:   2022-07-28 (Thu, 28 Jul 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/misc/CMakeLists.txt

  Log Message:
  -----------
  [clang-tidy] Add CLANG_TIDY_CONFUSABLE_CHARS_GEN cmake cache variable to avoid building when cross compiling

This is similar to the LLVM_TABLEGEN, CLANG_TABLEGEN and
CLANG_PSEUDO_GEN cmake cache variables.

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


Compare: https://github.com/llvm/llvm-project/compare/824954a8c9c3...dc95d0c52563


More information about the All-commits mailing list