EnzymeAD / EnzymeAD/Enzyme

Add .clang-format and corresponding CI pass to check code format

Open
#1,211 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
LLVM
Stars
1.7k
Forks
188
Avg merge
1d 22h
Merged PRs (30d)
26

Description

Like [llvm-project](https://github.com/llvm/llvm-project), I think we can add a `.clang-format` file in the root dir (and the file content is pretty simple since we just use the LLVM-style code format `BasedOnStyle: LLVM`, refer to https://github.com/llvm/llvm-project/blob/main/.clang-format), and then add a github action to check every PR commit to ensure the code style is aligned before it is merged.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.