[all-commits] [llvm/llvm-project] 893d53: [clang-tidy] Implement modernize-use-constraints

Chris Cotter via All-commits all-commits at lists.llvm.org
Sun Jul 30 13:43:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 893d53d11c0116718ecc816263f12d51c4612e1d
      https://github.com/llvm/llvm-project/commit/893d53d11c0116718ecc816263f12d51c4612e1d
  Author: Chris Cotter <ccotter14 at bloomberg.net>
  Date:   2023-07-30 (Sun, 30 Jul 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/CMakeLists.txt
    M clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
    A clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.cpp
    A clang-tools-extra/clang-tidy/modernize/UseConstraintsCheck.h
    M clang-tools-extra/clang-tidy/utils/LexerUtils.cpp
    M clang-tools-extra/clang-tidy/utils/LexerUtils.h
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst
    A clang-tools-extra/docs/clang-tidy/checks/modernize/use-constraints.rst
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-constraints-first-greatergreater.cpp
    A clang-tools-extra/test/clang-tidy/checkers/modernize/use-constraints.cpp

  Log Message:
  -----------
  [clang-tidy] Implement modernize-use-constraints

Add new check to replace enable_if with C++20 constraints

Reviewed By: PiotrZSL

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




More information about the All-commits mailing list