Skip to content

Commit cd6a8da

Browse files
fphammerleWanzenBug
authored andcommitted
clang-tidy: ignore irrelevant bugprone-exception-escape warnings
1 parent 1f74fc0 commit cd6a8da

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.clang-tidy

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ Checks: >-
3535
3636
WarningsAsErrors: >-
3737
*,
38-
-bugprone-exception-escape,
3938
-clang-diagnostic-return-type,
4039
-cppcoreguidelines-pro-bounds-pointer-arithmetic,
4140
-cppcoreguidelines-pro-type-member-init,

examples/ReadingSData.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
using namespace hdf4cpp;
88

9+
// NOLINTNEXTLINE(bugprone-exception-escape)
910
int main() {
1011
// Open the file
1112
HdfFile file(TEST_DATA_PATH "small_test.hdf");

examples/ReadingVData.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
using namespace hdf4cpp;
88

9+
// NOLINTNEXTLINE(bugprone-exception-escape)
910
int main() {
1011
// Open the file
1112
HdfFile file(TEST_DATA_PATH "small_test.hdf");
@@ -43,4 +44,4 @@ int main() {
4344
}
4445
std::cout << std::endl;
4546
}
46-
}
47+
}

0 commit comments

Comments
 (0)