diff options
| author | [email protected] <[email protected]> | 2012-06-23 13:52:05 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-06-23 13:52:05 +0000 |
| commit | 4bb93de55fbf91e5b7e89d9489a8275440d5fff0 (patch) | |
| tree | d9a99a088cf04645c6cae3ff11af47ce24f0775e /documentation/coding_style_en.txt | |
| parent | 70e39ffa54b63647e90603f70eb55c4230f6ba32 (diff) | |
Add astyle parameters from lgnq
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2178 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'documentation/coding_style_en.txt')
| -rw-r--r-- | documentation/coding_style_en.txt | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/documentation/coding_style_en.txt b/documentation/coding_style_en.txt index c66d35a6cf..926b6b5518 100644 --- a/documentation/coding_style_en.txt +++ b/documentation/coding_style_en.txt @@ -216,3 +216,16 @@ rt_timer + verb phrase stands for the method that could be used on timer object. When creating a new object, think twice on memory allocations: whether a static
object could be created or it could only created dynamically on heap.
+
+14. Use astyle to format the code automatically
+parameters: --style=allman
+ --indent=spaces=4
+ --pad-oper
+ --pad-header
+ --unpad-paren
+ --suffix=none
+ --align-pointer=name
+ --lineend=linux
+ --convert-tabs
+ --verbose
+
|
