|
From: Bart V. A. <bva...@ac...> - 2023-04-20 20:23:04
|
On 4/17/23 20:30, Nicholas Nethercote wrote: > Is there any appetite for clang-formatting Valgrind's code? Why to reformat the entire code base? Auto-formatting can be used without reformatting the entire code base. This is how I reformat Linux kernel and Android patches before I publish these: git clang-format HEAD^ git diff # to review the changes git commit -a --amend --no-edit # to keep the changes git reset --hard # to discard the changes Plugins are available for many editors (including Emacs and vi) that support clang-format. Bart. |