upx/.clang-format

45 lines
1.1 KiB
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
AlwaysBreakTemplateDeclarations: true
AttributeMacros:
- __acc_cdecl
- __acc_cdecl_atexit
- __acc_cdecl_qsort
- __acc_cdecl_sighandler
- __acc_forceinline
- __acc_noinline
- __acc_static_noinline
- __acc_static_forceinline
2023-01-24 20:52:10 +00:00
- forceinline
- noinline
2022-12-12 18:25:31 +00:00
EmptyLineBeforeAccessModifier: Leave
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:
- ACCCHK_ASSERT
- ACCCHK_ASSERT_IS_SIGNED_T
- ACCCHK_ASSERT_IS_UNSIGNED_T
- ACCCHK_ASSERT_SIGN_T
- ACC_BLOCK_BEGIN
- ACC_COMPILE_TIME_ASSERT
- ACC_COMPILE_TIME_ASSERT_HEADER
- ACC_CXX_DISABLE_NEW_DELETE
- ACC_CXX_TRIGGER_FUNCTION
- ACC_CXX_TRIGGER_FUNCTION_IMPL
- CLANG_FORMAT_DUMMY_STATEMENT
- COMPILE_TIME_ASSERT
- COMPILE_TIME_ASSERT_ALIGNED1
WhitespaceSensitiveMacros:
- ACC_PP_MACRO_EXPAND
- ACC_PP_STRINGIZE
2021-01-04 18:07:17 +00:00
...