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

Eugene Zelenko via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 17 18:23:52 PST 2018


Eugene.Zelenko added inline comments.


================
Comment at: clang-tidy/readability/DuplicatedAccessSpecifiersCheck.cpp:36
+       NS != NSEnd; ++NS) {
+    const auto *decl = *NS;
+
----------------
Type is not obvious here, so please don't use auto.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55793/new/

https://reviews.llvm.org/D55793





More information about the cfe-commits mailing list