aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-12 20:23:57 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-12 20:23:57 +0200
commit71182acb6682b32fd254f40e463bb0b344169b13 (patch)
treedbbadc8cdc6064b71a042180bc14b6ee16b9211b /.clang-format
parentCGA: blank last line when scrolling up (diff)
downloadkernel.cpp-71182acb6682b32fd254f40e463bb0b344169b13.tar.xz
Add SerialPort self-test to constructor
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format3
1 files changed, 2 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index ec6cc2c..e490b56 100644
--- a/.clang-format
+++ b/.clang-format
@@ -2,6 +2,7 @@
BasedOnStyle: Chromium
ColumnLimit: '120'
AccessModifierOffset: '-2'
-AllowShortBlocksOnASingleLine: true
+AllowShortIfStatementsOnASingleLine: true
+AllowShortLoopsOnASingleLine: true
...