mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 02:06:37 +00:00
Update .clang-format type and foreach macros lists
No functional change. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D25429
This commit is contained in:
parent
ddf1843203
commit
9e8fd9d8c4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=362595
|
@ -29,22 +29,16 @@ CompactNamespaces: true
|
||||||
DerivePointerAlignment: false
|
DerivePointerAlignment: false
|
||||||
DisableFormat: false
|
DisableFormat: false
|
||||||
ForEachMacros:
|
ForEachMacros:
|
||||||
- SLIST_FOREACH
|
- ARB_ARRFOREACH
|
||||||
- SLIST_FOREACH_SAFE
|
- ARB_ARRFOREACH_REVWCOND
|
||||||
- LIST_FOREACH
|
- ARB_ARRFOREACH_REVERSE
|
||||||
- LIST_FOREACH_SAFE
|
- ARB_FOREACH
|
||||||
- STAILQ_FOREACH
|
- ARB_FOREACH_FROM
|
||||||
- STAILQ_FOREACH_SAFE
|
- ARB_FOREACH_SAFE
|
||||||
- TAILQ_FOREACH
|
- ARB_FOREACH_REVERSE
|
||||||
- TAILQ_FOREACH_SAFE
|
- ARB_FOREACH_REVERSE_FROM
|
||||||
- TAILQ_FOREACH_REVERSE
|
- ARB_FOREACH_REVERSE_SAFE
|
||||||
- TAILQ_FOREACH_REVERSE_SAFE
|
- CPU_FOREACH
|
||||||
- RB_FOREACH
|
|
||||||
- RB_FOREACH_SAFE
|
|
||||||
- RB_FOREACH_FROM
|
|
||||||
- RB_FOREACH_REVERSE
|
|
||||||
- RB_FOREACH_REVERSE_FROM
|
|
||||||
- RB_FOREACH_REVERSE_SAFE
|
|
||||||
- FOREACH_THREAD_IN_PROC
|
- FOREACH_THREAD_IN_PROC
|
||||||
- FOREACH_PROC_IN_SYSTEM
|
- FOREACH_PROC_IN_SYSTEM
|
||||||
- FOREACH_PRISON_CHILD
|
- FOREACH_PRISON_CHILD
|
||||||
|
@ -53,6 +47,35 @@ ForEachMacros:
|
||||||
- FOREACH_PRISON_DESCENDANT_LOCKED_LEVEL
|
- FOREACH_PRISON_DESCENDANT_LOCKED_LEVEL
|
||||||
- MNT_VNODE_FOREACH_ALL
|
- MNT_VNODE_FOREACH_ALL
|
||||||
- MNT_VNODE_FOREACH_ACTIVE
|
- MNT_VNODE_FOREACH_ACTIVE
|
||||||
|
- RB_FOREACH
|
||||||
|
- RB_FOREACH_FROM
|
||||||
|
- RB_FOREACH_SAFE
|
||||||
|
- RB_FOREACH_REVERSE
|
||||||
|
- RB_FOREACH_REVERSE_FROM
|
||||||
|
- RB_FOREACH_REVERSE_SAFE
|
||||||
|
- SLIST_FOREACH
|
||||||
|
- SLIST_FOREACH_FROM
|
||||||
|
- SLIST_FOREACH_FROM_SAFE
|
||||||
|
- SLIST_FOREACH_SAFE
|
||||||
|
- SLIST_FOREACH_PREVPTR
|
||||||
|
- SPLAY_FOREACH
|
||||||
|
- LIST_FOREACH
|
||||||
|
- LIST_FOREACH_FROM
|
||||||
|
- LIST_FOREACH_FROM_SAFE
|
||||||
|
- LIST_FOREACH_SAFE
|
||||||
|
- STAILQ_FOREACH
|
||||||
|
- STAILQ_FOREACH_FROM
|
||||||
|
- STAILQ_FOREACH_FROM_SAFE
|
||||||
|
- STAILQ_FOREACH_SAFE
|
||||||
|
- TAILQ_FOREACH
|
||||||
|
- TAILQ_FOREACH_FROM
|
||||||
|
- TAILQ_FOREACH_FROM_SAFE
|
||||||
|
- TAILQ_FOREACH_REVERSE
|
||||||
|
- TAILQ_FOREACH_REVERSE_FROM
|
||||||
|
- TAILQ_FOREACH_REVERSE_FROM_SAFE
|
||||||
|
- TAILQ_FOREACH_REVERSE_SAFE
|
||||||
|
- TAILQ_FOREACH_SAFE
|
||||||
|
- VM_MAP_ENTRY_FOREACH
|
||||||
IndentCaseLabels: false
|
IndentCaseLabels: false
|
||||||
IndentPPDirectives: None
|
IndentPPDirectives: None
|
||||||
Language: Cpp
|
Language: Cpp
|
||||||
|
@ -113,12 +136,35 @@ IncludeCategories:
|
||||||
SortPriority: 100
|
SortPriority: 100
|
||||||
SortIncludes: true
|
SortIncludes: true
|
||||||
KeepEmptyLinesAtTheStartOfBlocks: true
|
KeepEmptyLinesAtTheStartOfBlocks: true
|
||||||
# The options below will only be supported starting with clang 9.0:
|
TypenameMacros:
|
||||||
# TODO-CLANG-9: TypenameMacros:
|
- ARB_ELMTYPE
|
||||||
# TODO-CLANG-9: - SLIST_HEAD
|
- ARB_HEAD
|
||||||
# TODO-CLANG-9: - SLIST_ENTRY
|
- ARB8_HEAD
|
||||||
# TODO-CLANG-9: - TAILQ_ENTRY
|
- ARB16_HEAD
|
||||||
# TODO-CLANG-9: - TAILQ_HEAD
|
- ARB32_HEAD
|
||||||
# TODO-CLANG-9: - STAILQ_ENTRY
|
- ARB_ENTRY
|
||||||
# TODO-CLANG-9: - STAILQ_HEAD
|
- ARB8_ENTRY
|
||||||
...
|
- ARB16_ENTRY
|
||||||
|
- ARB32_ENTRY
|
||||||
|
- LIST_CLASS_ENTRY
|
||||||
|
- LIST_CLASS_HEAD
|
||||||
|
- LIST_ENTRY
|
||||||
|
- LIST_HEAD
|
||||||
|
- QUEUE_TYPEOF
|
||||||
|
- RB_ENTRY
|
||||||
|
- RB_HEAD
|
||||||
|
- SLIST_CLASS_HEAD
|
||||||
|
- SLIST_CLASS_ENTRY
|
||||||
|
- SLIST_HEAD
|
||||||
|
- SLIST_ENTRY
|
||||||
|
- SMR_POINTER
|
||||||
|
- SPLAY_ENTRY
|
||||||
|
- SPLAY_HEAD
|
||||||
|
- STAILQ_CLASS_ENTRY
|
||||||
|
- STAILQ_CLASS_HEAD
|
||||||
|
- STAILQ_ENTRY
|
||||||
|
- STAILQ_HEAD
|
||||||
|
- TAILQ_CLASS_ENTRY
|
||||||
|
- TAILQ_CLASS_HEAD
|
||||||
|
- TAILQ_ENTRY
|
||||||
|
- TAILQ_HEAD
|
||||||
|
|
Loading…
Reference in a new issue