Applying clang-format to Bitcoin Core



Summary:

The context discusses the application of a consistent style to the C++ source. The process is being done through clang-format (LLVM) and $repo/src/.clang-format. If there is a patch that is difficult to apply to the tree due to reformatting, one can simply apply clang-format and then rediff. Jeff Garzik, a Bitcoin core developer and open source evangelist at BitPay, Inc., shared this information.


Updated on: 2023-06-09T02:37:51.055749+00:00