Merge remote-tracking branch 'origin/master' into d3d12

This commit is contained in:
gibbed 2019-07-18 12:33:52 -05:00
commit e024cbc3f0
2 changed files with 6 additions and 3 deletions

View File

@ -96,10 +96,13 @@ void mspack_memory_sys_destroy(struct mspack_system* sys) { free(sys); }
int lzx_decompress(const void* lzx_data, size_t lzx_len, void* dest,
size_t dest_len, uint32_t window_size, void* window_data,
size_t window_data_len) {
uint32_t window_bits = xe::bit_count(window_size);
int result_code = 1;
uint32_t window_bits;
if (!xe::bit_scan_forward(window_size, &window_bits)) {
return result_code;
}
mspack_system* sys = mspack_memory_sys_create();
mspack_memory_file* lzxsrc =
mspack_memory_open(sys, (void*)lzx_data, lzx_len);

View File

@ -1370,7 +1370,7 @@ class TidyCommand(Command):
super(TidyCommand, self).__init__(
subparsers,
name='tidy',
help_short='Runs the clang-tiday checker on all code.',
help_short='Runs the clang-tidy checker on all code.',
*args, **kwargs)
self.parser.add_argument(
'--fix', action='store_true',