Dear LLVM community,
you may have heard of OpenFOAM, which is one of the most used and long-standing open-source simulation frameworks for fluid dynamics out there.
As many derived projects depend on it, we have now started an official special interests group discussing software engineering practices we would like the project to follow. In our next meeting, on February 16, 2024, 13:00 CET we want to discuss automatic code formatting solutions and try to propose a solution to the core developers, which then derived projects could use.
The project has its own style guide, for which multiple people have tried to provide a clang-format configuration file, without being able to cover everything.
With this post, I would like to:
- Raise attention to the effort to provide a clang-format file for OpenFOAM
- Call for help in the issue, trying to satisfy any remaining rules with existing rules, or identify new rules that need to be implemented
- Invite people from the clang-format community to join our next meeting, providing ideas and related help.
OpenFOAM is a very large and important project that, in my opinion, has a lot of way to cover to be able to open up to community contributions to the core. I think that managing to provide a clang-format file for this project (with potentially some compromises from OpenFOAM) would unlock an important door to new contributions to OpenFOAM (since formatting is one of the usual points of argument) and would hopefully be an interesting use case for clang-format.