Marcus Holland-Moritz
|
45098e7913
|
chore: reformat code using new .clang-format
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
71064e6613
|
chore: update .clang-format
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
220632a60d
|
fix(categorizer): no return needed in function returning void
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
d7678a1477
|
chore(wcwidth): disable readability checks
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
129f4566a3
|
chore(render_manpage): disable readability checks
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
e8a2cfc916
|
refactor(categorizer): make requirements parameter a string_view
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
dc59e3be6a
|
refactor(filesystem_extractor): pass shared_ptr by const ref
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
64c223ca39
|
refactor(categorizer): simplify loop using ranges
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
2940b9cf56
|
refactor: move all movable things
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
5702bd0a12
|
refactor(performance_monitor): pass namespaces by value
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
1e230b411d
|
refactor(filesystem_v2): no need to pass shared_ptr if ref will do
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ec8cd82268
|
refactor: no need to move trivial types
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ce69ea2aba
|
chore: locally disable some clang-tidy checks
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
07bcc09395
|
refactor(block_merger): std::endl -> '\n'
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
d5df4f9deb
|
refactor: use const refs where pass-by-value is unnecessary
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
fdddf95bfc
|
refactor: pass perfmon shared_ptr by const reference
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ba0bdbdc91
|
refactor(safe_main): use const ref for std::function
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
cfcd456c76
|
chore: update clang-tidy checks
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
b9a87e4a74
|
chore(categorizer): std::bind is simpler than a lambda in this case
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
848d346cdf
|
refactor(block_cache): east const
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
a3182ae851
|
refactor: use std::cmp_* instead of static_cast s
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
d11a591837
|
chore(segmenter): cannot easily use ranges algorithms for bloom filter
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
e252182171
|
chore(block_cache): cannot easily use std::ranges heap operations
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ab8f67619f
|
refactor: prefer std::ranges:: algorithm variants
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ca530f6cd1
|
refactor(filesystem_v2): prefer emplace_back for vector of optionals
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
f630402e19
|
refactor(worker_group): use range-based for
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
b945c2a23f
|
refactor(lzma): prefer nullptr over NULL
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
fabcf6d367
|
refactor: prefer raw strings for strings with lots of escapes
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
4b308e602e
|
chore: document that we can't use ranges:: for erase-remove-idiom
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
fa3438a40a
|
refactor(cyclic_hash): use auto for static_cast result
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
95dc0fea3b
|
refactor(chunkable): clean up namespaces
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
40277841cc
|
refactor(logger): use std::conditional_t over std::conditional
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
240a6a49da
|
refactor(segmenter_factory): move shared_ptr
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
2671153206
|
refactor: avoid duplicate return type and use braced initializer list
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
348760ff67
|
chore: enable more clang-tidy rules
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
b808e8f3a3
|
refactor(pcmaudio): use std::array instead of C-style arrays
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
7efa82854a
|
refactor(fstypes): use std::array for magic / SHA2 members
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
37881a8f90
|
refactor(filesystem_extractor): use std::array for pipes
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
7eecd6ab6c
|
refactor(metadata_v2): emplace char const* into string vector
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
cdbf316843
|
refactor(filesystem_writer): use std::array in copy_stream
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
a50ba46fab
|
refactor(dwarfs_main): use std::array for dwarfs_opts
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
ae35a80400
|
fix(filesystem_writer): make impl_ private
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
f343223d0d
|
fix(filesystem_writer): add noexcept to dtor and move ops
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
40e8ffc5a3
|
refactor(mkdwarfs_main): hide members in categorize_optval
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
0a380ece6c
|
refactor(logger): add clang-tidy exception
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
fdcc93501b
|
chore: add more clang-tidy exceptions
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
807dbb9aef
|
refactor: make sure jemalloc version in always initialized
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
bdb5469b7b
|
refactor: use static_cast instead of reinterpret_cast
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
5b8e7acbc9
|
chore: add a few more clang-tidy exceptions
|
2025-03-17 07:15:55 +01:00 |
|
Marcus Holland-Moritz
|
53286d00a9
|
chore: enable more clang-tidy diagnostics
|
2025-03-17 07:15:55 +01:00 |
|