[all-commits] [llvm/llvm-project] 29dc0b: Add the readability-redundant-access-specifiers ch...

AaronBallman via All-commits all-commits at lists.llvm.org
Wed Oct 30 10:31:21 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 29dc0b17de6b04afa6110a040053a19b02ca1a87
      https://github.com/llvm/llvm-project/commit/29dc0b17de6b04afa6110a040053a19b02ca1a87
  Author: Aaron Ballman <aaron at aaronballman.com>
  Date:   2019-10-30 (Wed, 30 Oct 2019)

  Changed paths:
    M clang-tools-extra/clang-tidy/readability/CMakeLists.txt
    M clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantAccessSpecifiersCheck.cpp
    A clang-tools-extra/clang-tidy/readability/RedundantAccessSpecifiersCheck.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/readability-redundant-access-specifiers.rst
    A clang-tools-extra/test/clang-tidy/readability-redundant-access-specifiers-check-first-declaration.cpp
    A clang-tools-extra/test/clang-tidy/readability-redundant-access-specifiers.cpp

  Log Message:
  -----------
  Add the readability-redundant-access-specifiers check.

This finds redundant access specifier declarations inside classes, structs, and unions.

Patch by Mateusz Mackowski.




More information about the All-commits mailing list