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:
@@ -1474,7 +1474,10 @@ h5str_dump_region_blocks(JNIEnv *env, h5str_t *str, hid_t region_space, hid_t re
|
||||
/*
|
||||
* This function fails if the region does not have blocks.
|
||||
*/
|
||||
H5E_BEGIN_TRY { nblocks = H5Sget_select_hyper_nblocks(region_space); }
|
||||
H5E_BEGIN_TRY
|
||||
{
|
||||
nblocks = H5Sget_select_hyper_nblocks(region_space);
|
||||
}
|
||||
H5E_END_TRY;
|
||||
|
||||
if (nblocks <= 0) {
|
||||
@@ -1647,7 +1650,10 @@ h5str_dump_region_points(JNIEnv *env, h5str_t *str, hid_t region_space, hid_t re
|
||||
/*
|
||||
* This function fails if the region does not have points.
|
||||
*/
|
||||
H5E_BEGIN_TRY { npoints = H5Sget_select_elem_npoints(region_space); }
|
||||
H5E_BEGIN_TRY
|
||||
{
|
||||
npoints = H5Sget_select_elem_npoints(region_space);
|
||||
}
|
||||
H5E_END_TRY;
|
||||
|
||||
if (npoints <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user