Skip to content

Clang-format file #1441

@delcypher

Description

@delcypher

It would be helpful for developers if Z3's source tree came with a .clang-format file so that changes can be automatically formatted.

Note that clang-format can format whole files (usually not desirable) or it can format patches (i.e. with git clang-format) or regions of code (e.g. there's a vim plug-in that lets you format a selected region of text).

A handy tool for visually creating a .clang-format file can be found at https://zed0.co.uk/clang-format-configurator/ and documentation on various options can be found at https://clang.llvm.org/docs/ClangFormatStyleOptions.html

Could a .clang-format file be added that matches Z3's C++ style?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions