forked from jmtth/ft_IRC
-
Notifications
You must be signed in to change notification settings - Fork 0
Norm
Cisco edited this page Sep 24, 2025
·
1 revision
- norm is based upon LLVM Coding standards
- there is a
.clang.formatto customize options -
make format-checkto check that .cpp and .hpp files respect the norm -
make formatto automatically format them
as there is no sudo, we can install on ~/local/bin and add this to the path
mkdir -p ~/local/bin;
wget -qO ~/local/bin/clang-format https://github.com/cpp-linter/clang-tools-static-binaries/releases/latest/download/clang-format-20_linux-amd64;
chmod a+x ~/local/bin/clang-format
## adding to the path if needed
export PATH=$PATH:~/local/binSource lindev