Compare commits

...
2 Commits
Author SHA1 Message Date
Riyyi b5d6f6e592 Meta: Add .clang-format config file 2022-08-17 13:12:54 +02:00
Riyyi ea0cfc9181 Doc: Add readme 2022-08-17 13:12:18 +02:00
2 changed files with 45 additions and 0 deletions
+39
View File
@@ -0,0 +1,39 @@
# -*- yaml -*-
---
BasedOnStyle: WebKit
IndentWidth: 4
---
Language: Cpp
AlignAfterOpenBracket: Align
AlignEscapedNewlines: Left
AlignOperands: Align
AlignTrailingComments: true
AllowAllArgumentsOnNextLine: false
AllowAllConstructorInitializersOnNextLine: true
AllowAllParametersOfDeclarationOnNextLine: false
AllowShortLambdasOnASingleLine: All
AlwaysBreakTemplateDeclarations: Yes
IndentPPDirectives: BeforeHash
BraceWrapping:
AfterEnum: false
AfterFunction: true
BeforeCatch: true
BeforeElse: true
BeforeLambdaBody: false
SplitEmptyRecord: false
BreakBeforeBraces: Custom
BreakInheritanceList: BeforeComma
SpaceAfterTemplateKeyword: false
SpaceInEmptyBlock: false
NamespaceIndentation: None
FixNamespaceComments: true
Standard: c++20
TabWidth: 4
UseTab: AlignWithSpaces
...
+6
View File
@@ -0,0 +1,6 @@
#+TITLE: Riyyi's Utilities for C++
#+AUTHOR: Riyyi
#+LANGUAGE: en
#+OPTIONS: toc:nil
Utility library for C++.