Martin Liška writes:
>> +··static·size_t·size·(const·T·(&x)[N])·{·return·N;·}
>
> Hello.
>
> This leads to a clang warning:
>
> gcc/array-traits.h:45:33: warning: unused parameter 'x' [-Wunused-parameter]
>
> Can you please fix it?
> Thanks,
> Martin
Sure, done as follows, committed as r275805.
+··static·size_t·size·(const·T·(&x)[N])·{·return·N;·}
Hello.
This leads to a clang warning:
gcc/array-traits.h:45:33: warning: unused parameter 'x' [-Wunused-parameter]
Can you please fix it?
Thanks,
Martin
On 9/9/19 10:32 AM, Richard Sandiford wrote:
> This patch adds a bitmap_view class that creates a read-only,
> on-stack bitmap representation of an array-like object X. The main
> use case is to allow HARD_REG_SETs to be used in REG_SET (i.e. bitmap)
> operations.
>
> For now it only handles cons
This patch adds a bitmap_view class that creates a read-only,
on-stack bitmap representation of an array-like object X. The main
use case is to allow HARD_REG_SETs to be used in REG_SET (i.e. bitmap)
operations.
For now it only handles constant-sized arrays, but I've tried to
define the types in