upx/.clang-format

25 lines
620 B
Plaintext
Raw Normal View History

2022-08-27 23:20:10 +08: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-05 02:07:17 +08:00
---
BasedOnStyle: LLVM
ColumnLimit: 100
IndentWidth: 4
2022-12-13 02:25:31 +08:00
---
Language: Cpp
AccessModifierOffset: -4
2023-09-01 17:29:51 +08:00
AlignConsecutiveMacros: AcrossComments
2022-12-13 02:25:31 +08:00
AlwaysBreakTemplateDeclarations: true
AttributeMacros:
2023-02-06 00:20:32 +08:00
- DELETED_FUNCTION
- XSPAN_DELETED_FUNCTION
2023-07-16 13:37:31 +08:00
- may_throw
2022-12-13 02:25:31 +08:00
EmptyLineBeforeAccessModifier: Leave
# IndentPPDirectives: AfterHash # TODO later
2021-01-05 02:07:17 +08:00
SortIncludes: false
SpaceAfterCStyleCast: true
2022-08-27 23:20:10 +08:00
Standard: Cpp03
2022-12-13 02:25:31 +08:00
StatementMacros:
- CLANG_FORMAT_DUMMY_STATEMENT
2021-01-05 02:07:17 +08:00
...