upx/.clang-format

25 lines
614 B
Plaintext
Raw Normal View History

2022-08-27 15:20:10 +00:00
# "Gofmt's style is nobody's favourite, but gofmt is everybody's favourite." --Rob Pike
#
# for clang-format-15.0.6 from https://github.com/upx/upx-stubtools/releases
2021-01-04 18:07:17 +00:00
---
BasedOnStyle: LLVM
ColumnLimit: 100
IndentWidth: 4
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
2024-01-24 19:53:14 +00:00
# IndentPPDirectives: AfterHash # TODO
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
...