[all-commits] [llvm/llvm-project] 30033b: [libc++][CI] Improves clang-(tidy|query) selection.

Mark de Wever via All-commits all-commits at lists.llvm.org
Wed Dec 28 11:01:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30033bdaf3f4a8cf6dd329ce8bc8a20511452c9a
      https://github.com/llvm/llvm-project/commit/30033bdaf3f4a8cf6dd329ce8bc8a20511452c9a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2022-12-28 (Wed, 28 Dec 2022)

  Changed paths:
    M libcxx/test/libcxx/clang_query.sh.cpp
    M libcxx/test/libcxx/clang_tidy.sh.cpp
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/libcxx/test/features.py

  Log Message:
  -----------
  [libc++][CI] Improves clang-(tidy|query) selection.

Hardcode the version of the tools used in the test feature script
instead of the tests. By changing the hard-coded location it's
easier to make the location flexible in the future.

Drive-by change
- The minimum required version for clang-query is now 15, which matches
  our future idea as outlined in the Dockerfile.
- The minimum required version for clang-tidy is now 16, which enables
  the new clang-tidy ADL plugin. This plugin is disabled for C++03
  due to false positives when using `noexcept`, which is not an operator
  in C++03.

Reviewed By: ldionne, #libc

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




More information about the All-commits mailing list