mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-15 07:34:33 +00:00
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
This commit is contained in:
parent
3e8ed89484
commit
bdd9df49fc
@ -153,8 +153,7 @@ public:
|
||||
iterator_range<arg_iterator> filtered(OptSpecifier Id0 = 0U,
|
||||
OptSpecifier Id1 = 0U,
|
||||
OptSpecifier Id2 = 0U) const {
|
||||
return iterator_range<arg_iterator>(filtered_begin(Id0, Id1, Id2),
|
||||
filtered_end());
|
||||
return make_range(filtered_begin(Id0, Id1, Id2), filtered_end());
|
||||
}
|
||||
|
||||
/// @}
|
||||
|
Loading…
x
Reference in New Issue
Block a user