[PATCH] D55793: [clang-tidy] Add duplicated access specifier readability check

Mateusz Maćkowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 17 14:40:08 PST 2018


m4tx created this revision.
Herald added subscribers: cfe-commits, xazax.hun, mgorny.

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


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D55793

Files:
  clang-tidy/readability/CMakeLists.txt
  clang-tidy/readability/DuplicatedAccessSpecifiersCheck.cpp
  clang-tidy/readability/DuplicatedAccessSpecifiersCheck.h
  clang-tidy/readability/ReadabilityTidyModule.cpp
  docs/ReleaseNotes.rst
  docs/clang-tidy/checks/list.rst
  docs/clang-tidy/checks/readability-duplicated-access-specifiers.rst
  test/clang-tidy/readability-duplicated-access-specifiers.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55793.178536.patch
Type: text/x-patch
Size: 8610 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181217/0ec7518d/attachment.bin>


More information about the cfe-commits mailing list