2020-09-05 05:36:52 +08:00
|
|
|
---
|
2020-09-25 01:35:54 +08:00
|
|
|
BasedOnStyle: LLVM
|
2020-09-05 05:36:52 +08:00
|
|
|
AlignConsecutiveAssignments: true
|
2022-04-20 02:08:09 +08:00
|
|
|
BraceWrapping:
|
|
|
|
AfterFunction: true
|
|
|
|
#llvm10-11: AfterControlStatement: false - Never
|
|
|
|
BeforeCatch: true
|
|
|
|
BeforeElse: true
|
|
|
|
#llvm11: BeforeLambdaBody: false
|
|
|
|
#llvm11: BeforeWhile: false
|
|
|
|
BreakBeforeBraces: Stroustrup
|
|
|
|
BreakAfterJavaFieldAnnotations: true
|
|
|
|
BreakStringLiterals: true
|
2024-04-13 00:16:41 +08:00
|
|
|
ColumnLimit: 110
|
2022-04-20 02:08:09 +08:00
|
|
|
IndentWidth: 4
|
|
|
|
---
|
|
|
|
Language: Cpp
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm11: AlignConsecutiveBitFields: false
|
2020-09-05 05:36:52 +08:00
|
|
|
AlignConsecutiveDeclarations: true
|
2021-02-26 05:12:57 +08:00
|
|
|
AlignConsecutiveMacros: true
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm10-11: AlignOperands: true - Align
|
|
|
|
#llvm11: AllowShortEnumsOnASingleLine: true
|
2021-03-17 23:25:39 +08:00
|
|
|
AllowShortFunctionsOnASingleLine: None
|
2020-09-05 05:36:52 +08:00
|
|
|
AlwaysBreakAfterReturnType: AllDefinitions
|
2020-10-07 06:37:42 +08:00
|
|
|
# Can enable the following section when llvm 12.x is out
|
|
|
|
#AttributeMacros:
|
|
|
|
# - H5_ATTR_FORMAT
|
|
|
|
# - H5_ATTR_UNUSED
|
|
|
|
# - H5_ATTR_DEPRECATED_USED
|
|
|
|
# - H5_ATTR_NDEBUG_UNUSED
|
|
|
|
# - H5_ATTR_DEBUG_API_USED
|
|
|
|
# - H5_ATTR_PARALLEL_UNUSED
|
|
|
|
# - H5_ATTR_PARALLEL_USED
|
|
|
|
# - H5_ATTR_NORETURN
|
|
|
|
# - H5_ATTR_CONST
|
|
|
|
# - H5_ATTR_PURE
|
|
|
|
# - H5_ATTR_FALLTHROUGH
|
2021-03-17 23:25:39 +08:00
|
|
|
ForEachMacros: ['ALL_MEMBERS', 'UNIQUE_MEMBERS']
|
2020-09-05 05:36:52 +08:00
|
|
|
IncludeCategories:
|
|
|
|
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
|
|
|
Priority: 3
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '^(<|"(gtest|gmock|isl|json)/)'
|
|
|
|
Priority: 4
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '.*'
|
|
|
|
Priority: 0
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: '^H5*.*'
|
|
|
|
Priority: 1
|
|
|
|
SortPriority: 0
|
|
|
|
- Regex: 'private.*'
|
|
|
|
Priority: 2
|
|
|
|
SortPriority: 0
|
|
|
|
IncludeIsMainRegex: '(public)?$'
|
|
|
|
IndentCaseLabels: true
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm11: IndentCaseBlocks: false
|
2020-09-05 05:36:52 +08:00
|
|
|
IndentGotoLabels: false
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm11: IndentExternBlock: AfterExternBlock
|
|
|
|
#llvm11: InsertTrailingCommas: None
|
2020-10-07 06:37:42 +08:00
|
|
|
MacroBlockBegin: "^BEGIN_FUNC"
|
|
|
|
MacroBlockEnd: "^END_FUNC"
|
2020-09-05 05:36:52 +08:00
|
|
|
ObjCBlockIndentWidth: 4
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm11: ObjCBreakBeforeNestedBlockParam: true
|
2020-09-05 05:36:52 +08:00
|
|
|
ReflowComments: true
|
|
|
|
SortIncludes: false
|
|
|
|
StatementMacros:
|
2023-06-16 12:49:02 +08:00
|
|
|
- CATCH
|
|
|
|
- END_MEMBERS
|
2020-09-05 05:36:52 +08:00
|
|
|
- FUNC_ENTER_API
|
2024-04-08 22:57:54 +08:00
|
|
|
- FUNC_ENTER_API_NAMECHECK_ONLY
|
2023-06-16 12:49:02 +08:00
|
|
|
- FUNC_ENTER_NOAPI
|
|
|
|
- FUNC_ENTER_NOAPI_NOERR
|
|
|
|
- FUNC_ENTER_NOAPI_NOINIT
|
2020-09-05 05:36:52 +08:00
|
|
|
- FUNC_ENTER_NOAPI_NOINIT_NOERR
|
2023-06-16 12:49:02 +08:00
|
|
|
- FUNC_ENTER_PACKAGE
|
|
|
|
- FUNC_LEAVE_API
|
2024-04-08 22:57:54 +08:00
|
|
|
- FUNC_LEAVE_API_NAMECHECK_ONLY
|
2020-09-05 05:36:52 +08:00
|
|
|
- FUNC_LEAVE_NOAPI
|
2023-06-16 12:49:02 +08:00
|
|
|
- FUNC_LEAVE_NOAPI_NOFS
|
|
|
|
- H5E_END_TRY
|
|
|
|
- H5E_PRINTF
|
|
|
|
- H5E_THROW
|
2020-09-05 05:36:52 +08:00
|
|
|
- H5_BEGIN_TAG
|
|
|
|
- H5_END_TAG
|
2023-06-16 12:49:02 +08:00
|
|
|
- H5_GCC_DIAG_OFF
|
|
|
|
- H5_GCC_DIAG_ON
|
2023-08-26 02:24:42 +08:00
|
|
|
- H5_CLANG_DIAG_OFF
|
|
|
|
- H5_CLANG_DIAG_ON
|
|
|
|
- H5_GCC_CLANG_DIAG_OFF
|
|
|
|
- H5_GCC_CLANG_DIAG_ON
|
2023-06-16 12:49:02 +08:00
|
|
|
- H5_LEAVE
|
2020-09-05 05:36:52 +08:00
|
|
|
- HGOTO_DONE
|
|
|
|
- HMPI_DONE_ERROR
|
2023-06-16 12:49:02 +08:00
|
|
|
- HMPI_ERROR
|
2020-09-05 05:36:52 +08:00
|
|
|
- HMPI_GOTO_ERROR
|
2023-06-16 12:49:02 +08:00
|
|
|
- HSYS_DONE_ERROR
|
|
|
|
- HSYS_GOTO_ERROR
|
2021-01-28 07:51:59 +08:00
|
|
|
#llvm10: TypenameMacros:
|
|
|
|
#llvm10: - STACK_OF
|
|
|
|
#llvm10: - LIST
|
|
|
|
#llvm11: WhitespaceSensitiveMacros:
|
|
|
|
#llvm11: - STRINGIZE
|
|
|
|
#llvm11: - PP_STRINGIZE
|
2022-04-20 02:08:09 +08:00
|
|
|
---
|
|
|
|
Language: Java
|
|
|
|
BreakAfterJavaFieldAnnotations: true
|
|
|
|
JavaImportGroups: ['java', 'hdf', 'hdf.hdf5lib', 'org']
|
2020-09-05 05:36:52 +08:00
|
|
|
...
|