aboutsummaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2021-11-29 21:25:36 -0800
committerGarrett D'Amore <garrett@damore.org>2021-11-29 21:25:36 -0800
commite792d31b4a3b04658108e59edeab78495ac6b5a8 (patch)
tree3f50503d6a73356d194a4fae28a4096dbed607df /.clang-format
parentefa702387fcfa80ddd02e1a85f73c5b6f6ba1955 (diff)
downloadnng-e792d31b4a3b04658108e59edeab78495ac6b5a8.tar.gz
nng-e792d31b4a3b04658108e59edeab78495ac6b5a8.tar.bz2
nng-e792d31b4a3b04658108e59edeab78495ac6b5a8.zip
Fix incorrect elides of deprecated code.
(Note that this includes some incorrect formatting due to an apparent bug in clang-format 13. Hopefully they'll fix it later, but for now I'm preserving the bad whitespace.)
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format2
1 files changed, 2 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 02137561..015dab80 100644
--- a/.clang-format
+++ b/.clang-format
@@ -7,8 +7,10 @@ AlignConsecutiveDeclarations: true
AlignTrailingComments: true
AlignEscapedNewlines: Left
PointerAlignment: Right
+DerivePointerAlignment: false
ForEachMacros: ['NNI_LIST_FOREACH']
AlwaysBreakAfterReturnType: TopLevelDefinitions
SpaceAfterCStyleCast: true
AllowShortFunctionsOnASingleLine: Inline
BreakBeforeBinaryOperators: None
+TabWidth: 8