r203353 - [C++11] Replacing EnumDecl iterators enumerator_begin() and enumerator_end() with iterator_range enumerators(). Updating all of the usages of the iterators with range-based for loops.

Chandler Carruth chandlerc at google.com
Sat Mar 8 17:14:17 PST 2014


On Sat, Mar 8, 2014 at 10:45 AM, Aaron Ballman <aaron at aaronballman.com>wrote:

> +  template <typename SpecificDecl>
> +  using specific_decl_range =
> +      llvm::iterator_range<specific_decl_iterator<SpecificDecl>>;
> +
>

I didn't think alias templates worked everywhere yet? Are the build bots
happy with this? If so, we should add it to the list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140308/2361a261/attachment.html>


More information about the cfe-commits mailing list