2020-02-27 02:46:58 +08:00
|
|
|
--style=kr
|
|
|
|
--indent=spaces=4
|
|
|
|
--indent-classes
|
|
|
|
--indent-switches
|
|
|
|
--indent-cases
|
|
|
|
--indent-preproc-block
|
|
|
|
--indent-preproc-define
|
|
|
|
--indent-col1-comments
|
|
|
|
--pad-oper
|
|
|
|
--unpad-paren
|
|
|
|
--align-pointer=middle
|
|
|
|
--align-reference=middle
|
|
|
|
--convert-tabs
|
|
|
|
--max-code-length=120
|
|
|
|
--break-after-logical
|
|
|
|
--break-closing-braces
|
|
|
|
--attach-closing-while
|
|
|
|
--min-conditional-indent=0
|
|
|
|
--max-continuation-indent=120
|
|
|
|
--mode=c
|
2024-11-22 04:59:30 +08:00
|
|
|
# Allows each platform to use its own line endings. This then does
|
|
|
|
# what Git does out of the box: uses platform line endings in the
|
|
|
|
# working directory, but uses only LF line endings in the repository.
|
|
|
|
# `astyle` also natively uses line the endings it finds in the files,
|
|
|
|
# so this will be LF-only on Linux and CR/LF on Windows, in alignment
|
|
|
|
# with Git's default behavior. This prevents `astyle` from modifying
|
|
|
|
# every source file, which Git perceives as a change on Windows platforms.
|
|
|
|
#--lineend=linux
|
2020-02-27 02:46:58 +08:00
|
|
|
--suffix=none
|
|
|
|
--preserve-date
|
|
|
|
--formatted
|
2022-02-14 02:59:17 +08:00
|
|
|
--ignore-exclude-errors
|
2022-04-26 16:45:12 +08:00
|
|
|
--ignore-exclude-errors-x
|
2022-02-14 02:59:17 +08:00
|
|
|
--exclude=assets
|
2022-12-21 15:31:23 +08:00
|
|
|
--exclude=test_assets
|
2022-07-18 21:28:16 +08:00
|
|
|
--exclude=test_fonts
|
2022-07-22 04:45:23 +08:00
|
|
|
--exclude=../src/lv_conf_internal.h
|
2022-03-07 23:01:25 +08:00
|
|
|
--exclude=../src/core/lv_obj_style_gen.c
|
|
|
|
--exclude=../src/core/lv_obj_style_gen.h
|
2023-11-09 18:37:33 +08:00
|
|
|
--exclude=../src/libs/gif/gifdec.c
|
|
|
|
--exclude=../src/libs/gif/gifdec.h
|
|
|
|
--exclude=../src/libs/lodepng/lodepng.c
|
|
|
|
--exclude=../src/libs/lodepng/lodepng.h
|
|
|
|
--exclude=../src/libs/qrcode/qrcodegen.c
|
|
|
|
--exclude=../src/libs/qrcode/qrcodegen.h
|
|
|
|
--exclude=../src/libs/tjpgd/tjpgd.c
|
|
|
|
--exclude=../src/libs/tjpgd/tjpgd.h
|
|
|
|
--exclude=../src/libs/tjpgd/tjpgdcnf.h
|
|
|
|
--exclude=../src/libs/thorvg
|
2023-11-28 22:05:16 +08:00
|
|
|
--exclude=../src/libs/lz4
|
2024-01-12 18:35:45 +08:00
|
|
|
--exclude=../src/others/vg_lite_tvg/vg_lite.h
|
2022-07-18 21:28:16 +08:00
|
|
|
--exclude=../tests/unity/unity.c
|
|
|
|
--exclude=../tests/unity/unity_internals.h
|
|
|
|
--exclude=../tests/unity/unity_support.c
|
|
|
|
--exclude=../tests/unity/unity_support.h
|
2023-12-11 21:25:21 +08:00
|
|
|
--exclude=../tests/test_images
|
2024-01-30 17:33:10 +08:00
|
|
|
--exclude=../tests/build_test_defheap
|
|
|
|
--exclude=../tests/build_test_sysheap
|