summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-07 15:45:11 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-07 15:45:11 (GMT)
commitca32c785fc456522b10e0c3fb68ed0403d659ca9 (patch)
treee85e80ccfa1f459a18ce715943f021afca7a72c4 /.clang-format
parent2744238c875aa5b064eb3436df143a80146ae93a (diff)
downloadhdf5-ca32c785fc456522b10e0c3fb68ed0403d659ca9.zip
hdf5-ca32c785fc456522b10e0c3fb68ed0403d659ca9.tar.gz
hdf5-ca32c785fc456522b10e0c3fb68ed0403d659ca9.tar.bz2
Merge from develop
github workflow files parser files bin scripts doc corrections
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format5
1 files changed, 4 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 36f326d..4779a35 100644
--- a/.clang-format
+++ b/.clang-format
@@ -12,7 +12,7 @@ BraceWrapping:
BreakBeforeBraces: Stroustrup
BreakAfterJavaFieldAnnotations: true
BreakStringLiterals: true
-ColumnLimit: 110
+ColumnLimit: 110 # Update $max_trace_macro_line_len in bin/trace also
IncludeCategories:
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
Priority: 3
@@ -33,6 +33,8 @@ IncludeIsMainRegex: '(public)?$'
IndentCaseLabels: true
IndentGotoLabels: false
IndentWidth: 4
+MacroBlockBegin: "^BEGIN_FUNC"
+MacroBlockEnd: "^END_FUNC"
ObjCBlockIndentWidth: 4
ReflowComments: true
SortIncludes: false
@@ -58,5 +60,6 @@ StatementMacros:
- HMPI_GOTO_ERROR
- H5_GCC_DIAG_OFF
- H5_GCC_DIAG_ON
+ - CATCH
...