Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

clangformat Style #1737

Open
fire opened this issue Dec 31, 2016 · 2 comments
Open

clangformat Style #1737

fire opened this issue Dec 31, 2016 · 2 comments
Labels

Comments

@fire
Copy link

fire commented Dec 31, 2016

I've been using this .clang-format style in Visual Studio. Maybe we should import it into the root directory. Clang format is a method of automatically formatting code to a style.

Language:        Cpp
BasedOnStyle:  LLVM
IndentWidth:     4
TabWidth:        4
UseTab:          Never
Standard:        Cpp11
BreakBeforeBraces: Allman
PointerAlignment: Left
AccessModifierOffset: -4
AllowShortFunctionsOnASingleLine: None
ColumnLimit: 0
SpacesInAngles: true

Been using http://llvm.org/builds/ 's http://llvm.org/pre-releases/win-snapshots/ClangFormat-r288665.vsix

Anyone else use clang format? What do you think of this style?

@SuperWangKai
Copy link
Contributor

@github-actions
Copy link

Marking this stale since there has been no activity for 30 days.
It will be closed if there is no activity for another 15 days.

@github-actions github-actions bot added the stale label Apr 12, 2020
@weitjong weitjong added backlog and removed stale labels Apr 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants