3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-10-03 14:33:56 +00:00
Commit graph

2 commits

Author SHA1 Message Date
Nikolaj Bjorner
59bd1cf4a0 updated clang format
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
2025-09-18 15:13:20 -07:00
Don Syme
635d3b7017
Add .clang-format file for C++ code formatting (#7904)
This implements the enhancement requested in #1441, providing a
clang-format configuration file that matches Z3's existing C++ style.

Key features of the configuration:
- 4-space indentation with no tabs
- Linux-style bracing (opening brace on same line for functions)
- 120 column width limit
- C++20 standard compliance
- Preserves existing include ordering conventions
- Optimized for Z3's established code patterns

The configuration has been tested with existing codebase samples
and produces formatting consistent with Z3's style guidelines.

Closes #1441

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-authored-by: Daily Backlog Burner <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Claude <noreply@anthropic.com>
2025-09-17 20:22:27 -07:00