mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 23:40:19 +08:00
Update README.
This commit is contained in:
@@ -916,6 +916,8 @@ uncrustify.cfg
|
|||||||
|
|
||||||
- FAR attributes in pointer declarations.
|
- FAR attributes in pointer declarations.
|
||||||
- The Nuttx standard function header block comments.
|
- The Nuttx standard function header block comments.
|
||||||
|
- Naming violations such as use of CamelCase variable names,
|
||||||
|
lower case pre-processor definitions, etc.
|
||||||
|
|
||||||
Comment blocks, function headers, files headers, etc. must be formatted
|
Comment blocks, function headers, files headers, etc. must be formatted
|
||||||
manually.
|
manually.
|
||||||
@@ -924,6 +926,14 @@ uncrustify.cfg
|
|||||||
it leaves it alone, but if the block comment is deemed to need a fix
|
it leaves it alone, but if the block comment is deemed to need a fix
|
||||||
it starts erroneously indenting the continuation lines of the comment.
|
it starts erroneously indenting the continuation lines of the comment.
|
||||||
|
|
||||||
|
NOTE: uncrustify.cfg should *ONLY* be used with new files that have an
|
||||||
|
inconsistent coding style. uncrustify.cfg should get you in the ballpark,
|
||||||
|
but you should expect to review and hand-edit the files to assume 100%
|
||||||
|
compliance.
|
||||||
|
|
||||||
|
WARNING: *NEVER* use uncrustify.cfg for modifications to existing NuttX
|
||||||
|
files. It will probably corrupt the style in subtle ways!
|
||||||
|
|
||||||
This was last verified against uncrustify 0.66.1 by Bob Feretich.
|
This was last verified against uncrustify 0.66.1 by Bob Feretich.
|
||||||
|
|
||||||
About uncrustify: Uncrustify is a highly configurable, easily modifiable
|
About uncrustify: Uncrustify is a highly configurable, easily modifiable
|
||||||
|
|||||||
Reference in New Issue
Block a user