[libc-commits] [libc] [libc] fix -Wmissing-braces (PR #77345)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Mon Jan 8 09:51:39 PST 2024
nickdesaulniers wrote:
> > > I meant the iterator type,
> >
> >
> > Sorry, which of the two iterator types? The return value of `end` or the `IteratableBitMask` itself?
> > (When we can use c++20, designated initialization can be used to make this crystal clear).
>
> We're using `{0}` it implicitly create the iterator type rather than `iterator{0}` or whatever it is. I was just confused what it's actually trying to turn those arugment into since it just looks like any other uniform initialization
Done in https://github.com/llvm/llvm-project/pull/77345/commits/a18bd3bd2b625c53c00e1d38e67e151ddeebc670 PTAL
https://github.com/llvm/llvm-project/pull/77345
More information about the libc-commits
mailing list