upx/.clang-format

28 lines
731 B
Plaintext
Raw Normal View History

2024-03-08 10:52:44 +00:00
# vim:set ft=yaml ts=2 sw=2 et:
# Copyright (C) Markus Franz Xaver Johannes Oberhumer
# for clang-format-15.0.6 from https://github.com/upx/upx-stubtools/releases
2024-03-08 10:52:44 +00:00
#
# "Gofmt's style is nobody's favourite, but gofmt is everybody's favourite." --Rob Pike
2021-01-04 18:07:17 +00:00
---
BasedOnStyle: LLVM
ColumnLimit: 100
IndentWidth: 4
2022-12-12 18:25:31 +00:00
---
2024-03-08 10:52:44 +00:00
# settings for C and C++
2022-12-12 18:25:31 +00:00
Language: Cpp
AccessModifierOffset: -4
2023-09-01 09:29:51 +00:00
AlignConsecutiveMacros: AcrossComments
2022-12-12 18:25:31 +00:00
AlwaysBreakTemplateDeclarations: true
AttributeMacros:
2023-02-05 16:20:32 +00:00
- DELETED_FUNCTION
- XSPAN_DELETED_FUNCTION
2023-07-16 05:37:31 +00:00
- may_throw
2022-12-12 18:25:31 +00:00
EmptyLineBeforeAccessModifier: Leave
# IndentPPDirectives: AfterHash # TODO later
2021-01-04 18:07:17 +00:00
SortIncludes: false
SpaceAfterCStyleCast: true
2022-08-27 15:20:10 +00:00
Standard: Cpp03
2022-12-12 18:25:31 +00:00
StatementMacros:
- CLANG_FORMAT_DUMMY_STATEMENT
2021-01-04 18:07:17 +00:00
...