summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorvchoi-hdfgroup <55293060+vchoi-hdfgroup@users.noreply.github.com>2022-04-21 17:46:54 (GMT)
committerGitHub <noreply@github.com>2022-04-21 17:46:54 (GMT)
commitff8f512871b72e80c6d602d1539ae70072e18abb (patch)
tree491c1f08a68d92e400d939d96fefdc7bfef57ddc /.clang-format
parentff7fe9e9af404591d3d50f3b33d190679529bb10 (diff)
parent2f86cba3ec7b9f46b84e8cd239a1fee242c15049 (diff)
downloadhdf5-ff8f512871b72e80c6d602d1539ae70072e18abb.zip
hdf5-ff8f512871b72e80c6d602d1539ae70072e18abb.tar.gz
hdf5-ff8f512871b72e80c6d602d1539ae70072e18abb.tar.bz2
Merge pull request #62 from vchoi-hdfgroup/feature/vfd_swmr
Feature/vfd swmr
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format32
1 files changed, 18 insertions, 14 deletions
diff --git a/.clang-format b/.clang-format
index 62dc6b5..b51da2a 100644
--- a/.clang-format
+++ b/.clang-format
@@ -1,7 +1,20 @@
---
-Language: Cpp
BasedOnStyle: LLVM
AlignConsecutiveAssignments: true
+BraceWrapping:
+ AfterFunction: true
+ #llvm10-11: AfterControlStatement: false - Never
+ BeforeCatch: true
+ BeforeElse: true
+ #llvm11: BeforeLambdaBody: false
+ #llvm11: BeforeWhile: false
+BreakBeforeBraces: Stroustrup
+BreakAfterJavaFieldAnnotations: true
+BreakStringLiterals: true
+ColumnLimit: 110 # Update $max_trace_macro_line_len in bin/trace also
+IndentWidth: 4
+---
+Language: Cpp
#llvm11: AlignConsecutiveBitFields: false
AlignConsecutiveDeclarations: true
AlignConsecutiveMacros: true
@@ -22,17 +35,6 @@ AlwaysBreakAfterReturnType: AllDefinitions
# - H5_ATTR_CONST
# - H5_ATTR_PURE
# - H5_ATTR_FALLTHROUGH
-BraceWrapping:
- AfterFunction: true
- #llvm10-11: AfterControlStatement: false - Never
- BeforeCatch: true
- BeforeElse: true
- #llvm11: BeforeLambdaBody: false
- #llvm11: BeforeWhile: false
-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)/'
@@ -55,7 +57,6 @@ IndentCaseLabels: true
#llvm11: IndentCaseBlocks: false
IndentGotoLabels: false
#llvm11: IndentExternBlock: AfterExternBlock
-IndentWidth: 4
#llvm11: InsertTrailingCommas: None
MacroBlockBegin: "^BEGIN_FUNC"
MacroBlockEnd: "^END_FUNC"
@@ -92,5 +93,8 @@ StatementMacros:
#llvm11: WhitespaceSensitiveMacros:
#llvm11: - STRINGIZE
#llvm11: - PP_STRINGIZE
+---
+Language: Java
+BreakAfterJavaFieldAnnotations: true
+JavaImportGroups: ['java', 'hdf', 'hdf.hdf5lib', 'org']
...
-