llvm.org GIT mirror llvm / bdd9df4
Use simpler constructor for range adapter. It is a good idea, it's slightly clearer and simpler. Unfortunately the headline news is: we save one line! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212641 91177308-0d34-0410-b5e6-96231b3b80d8 Tim Northover 6 years ago
1 changed file(s) with 1 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
152152 iterator_range filtered(OptSpecifier Id0 = 0U,
153153 OptSpecifier Id1 = 0U,
154154 OptSpecifier Id2 = 0U) const {
155 return iterator_range(filtered_begin(Id0, Id1, Id2),
156 filtered_end());
155 return make_range(filtered_begin(Id0, Id1, Id2), filtered_end());
157156 }
158157
159158 /// @}