[all-commits] [llvm/llvm-project] b507bd: [clang-tidy] Add alias cppcoreguidelines-use-defau...

Carlos Galvez via All-commits all-commits at lists.llvm.org
Sun Apr 16 23:40:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b507bda4552347e00197032526c7ab4a80a853c2
      https://github.com/llvm/llvm-project/commit/b507bda4552347e00197032526c7ab4a80a853c2
  Author: Carlos Galvez <carlosgalvezp at gmail.com>
  Date:   2023-04-17 (Mon, 17 Apr 2023)

  Changed paths:
    M clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp
    M clang-tools-extra/docs/ReleaseNotes.rst
    M clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/prefer-member-initializer.rst
    A clang-tools-extra/docs/clang-tidy/checks/cppcoreguidelines/use-default-member-init.rst
    M clang-tools-extra/docs/clang-tidy/checks/list.rst

  Log Message:
  -----------
  [clang-tidy] Add alias cppcoreguidelines-use-default-member-init

And deprecate identical functionality from
cppcoreguidelines-prefer-member-initializer, which had too many
responsibilities and a tight coupling to the
modernize-use-default-member-init check.

Fixes https://github.com/llvm/llvm-project/issues/62164.

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




More information about the All-commits mailing list