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.

Aaron Ballman aaron at aaronballman.com
Sun Mar 9 05:37:23 PDT 2014


On Sat, Mar 8, 2014 at 8:14 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> 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.

Takumi just mentioned that this broke the MSVC 2012 bot; do we want to
call this out explicitly on the coding standards?

~Aaron



More information about the cfe-commits mailing list