onion/src
comex d637114c17 video_core: Adjust NUM macro to avoid Clang warning
The previous definition was:

    #define NUM(field_name) (sizeof(Maxwell3D::Regs::field_name) / sizeof(u32))

In cases where `field_name` happens to refer to an array, Clang thinks
`sizeof(an array value) / sizeof(a type)` is an instance of the idiom
where `sizeof` is used to compute an array length.  So it thinks the
type in the denominator ought to be the array element type, and warns if
it isn't, assuming this is a mistake.

In reality, `NUM` is not used to get array lengths at all, so there is no
mistake.  Silence the warning by applying Clang's suggested workaround
of parenthesizing the denominator.
2020-12-06 18:24:16 -05:00
..
audio_core Update cubeb and request a persistent stream session 2020-12-05 22:26:41 +01:00
common xbyak_abi: Shorten std::size_t to size_t 2020-12-05 00:43:55 -05:00
core system_version: Update to 11.0.0 2020-12-05 16:08:03 +11:00
input_common mouse_poller: Remove unused includes 2020-12-03 10:41:13 -05:00
tests tests: Fix warning about comparison between signed and unsigned 2020-11-27 17:41:20 -05:00
video_core video_core: Adjust NUM macro to avoid Clang warning 2020-12-06 18:24:16 -05:00
web_service web_service: follow-up fix to #4842 ... 2020-10-28 23:16:06 -06:00
yuzu game_list_p: Resolve deprecated usage of QVariant operator< 2020-12-05 15:38:58 -05:00
yuzu_cmd yuzu_cmd: Remove 'users_size' 2020-12-05 17:50:39 -05:00
yuzu_tester core: Eliminate remaining usages of the global system instance 2020-11-27 11:40:45 -05:00
.clang-format
CMakeLists.txt CMakeLists: disable -Winvalid-offsetof 2020-11-27 17:42:02 -05:00