[all-commits] [llvm/llvm-project] 29e460: [clang-tidy] Skip template ctors in modernize-use-...

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Thu Oct 27 22:37:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29e4606ced7284c87a88fdcd34a6d179a1350fe9
      https://github.com/llvm/llvm-project/commit/29e4606ced7284c87a88fdcd34a6d179a1350fe9
  Author: Alexander Shaposhnikov <ashaposhnikov at google.com>
  Date:   2022-10-28 (Fri, 28 Oct 2022)

  Changed paths:
    M clang-tools-extra/clang-tidy/modernize/UseEqualsDefaultCheck.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/test/clang-tidy/checkers/modernize/use-equals-default.cpp

  Log Message:
  -----------
  [clang-tidy] Skip template ctors in modernize-use-equals-default

Skip template ctors in modernize-use-equals-default,
such constructors may be enabled/disabled via SFINAE,
it is not safe to make them "= default".

Test plan: ninja check-all

Differential revision: https://reviews.llvm.org/D136797




More information about the All-commits mailing list