Update clang config (#473)
* Update clang config to put H5E_BEGIN_TRY / H5E_END_TRY on separate lines, empty C++ methods on separate lines, understand that ALL_MEMBERS / UNIQUE_MEMBERS are foreach macros, and properly skip the 'config' directory in the find command without emiting a warning * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
This commit is contained in:
@@ -7,6 +7,7 @@ AlignConsecutiveDeclarations: true
|
||||
AlignConsecutiveMacros: true
|
||||
#llvm10-11: AlignOperands: true - Align
|
||||
#llvm11: AllowShortEnumsOnASingleLine: true
|
||||
AllowShortFunctionsOnASingleLine: None
|
||||
AlwaysBreakAfterReturnType: AllDefinitions
|
||||
# Can enable the following section when llvm 12.x is out
|
||||
#AttributeMacros:
|
||||
@@ -32,6 +33,7 @@ BreakBeforeBraces: Stroustrup
|
||||
BreakAfterJavaFieldAnnotations: true
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 110 # Update $max_trace_macro_line_len in bin/trace also
|
||||
ForEachMacros: ['ALL_MEMBERS', 'UNIQUE_MEMBERS']
|
||||
IncludeCategories:
|
||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
||||
Priority: 3
|
||||
|
||||
Reference in New Issue
Block a user