clangd fallback flags, clang-format style, clang-tidy checks, and gitignore for the autotools-generated artifacts. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <[email protected]>
16 lines
448 B
YAML
16 lines
448 B
YAML
# .clang-format — nulsl-libc style.
|
|
#
|
|
# Rule of thumb: 4-space indent, 100 columns, allman braces off, keep it
|
|
# boring. Run `clang-format -i` on your diff before opening a PR.
|
|
|
|
BasedOnStyle: LLVM
|
|
IndentWidth: 4
|
|
ColumnLimit: 100
|
|
PointerAlignment: Left
|
|
DerivePointerAlignment: false
|
|
SortIncludes: true
|
|
BreakBeforeBraces: Attach
|
|
AllowShortFunctionsOnASingleLine: Empty
|
|
AllowShortIfStatementsOnASingleLine: Never
|
|
AllowShortLoopsOnASingleLine: false
|