[PATCH] D55790: [AST] Add accessSpecs() iterator range for CXXRecordDecl

Mateusz Maćkowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 17 15:05:46 PST 2018


m4tx added a comment.

In D55790#1333627 <https://reviews.llvm.org/D55790#1333627>, @riccibruno wrote:

> Do you really have to add an iterator for this particular thing ?
>  Why not just use `specific_decl_iterator<AccessSpecDecl>` in your clang-tidy checker ?


I don't need to - if this is the preferred way to accomplish this, I'm more than happy to modify the revisions. I just saw other range methods that are used only once  (e.g. `CXXRecordDecl::friends()`).


Repository:
  rC Clang

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

https://reviews.llvm.org/D55790





More information about the cfe-commits mailing list