[PATCH] D19324: [ASTMatchers] new forEachOverriden matcher

Samuel Benzaquen via cfe-commits cfe-commits at lists.llvm.org
Mon May 23 08:30:39 PDT 2016


sbenza added inline comments.

================
Comment at: include/clang/AST/ASTContext.h:824
@@ -823,1 +823,3 @@
   unsigned overridden_methods_size(const CXXMethodDecl *Method) const;
+  typedef llvm::iterator_range<overridden_cxx_method_iterator>
+      overridden_method_range;
----------------
Sure. Sorry about that.
The main idea was to use a range-like API instead of returning a nullable pointer to a range.


http://reviews.llvm.org/D19324





More information about the cfe-commits mailing list