-
-
Notifications
You must be signed in to change notification settings - Fork 649
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clang-tidy warning about cert-err58-cpp #115
Comments
Any idea how to suppress this? I cannot use |
I passed |
In that case I'll be happy to close this issue :D |
This is clearly not fixed. CLion complains about it on every test. |
@BrannonKing Can you use the workaround that is provided in the issue (with using I might think about adding |
It seems that this is actually solvable precisely by using |
I'd also expect these kind of diagnostics to be resolvable by |
Back in 2018 So yes, we should prefer using |
Hi Viktor, Do you mind if I make a PR for this? |
sure! |
Description
run-clang-tidy-5.0.py is detecting
warning: initialization of '_DOCTEST_ANON_VAR_3' with static storage duration may throw an
exception that cannot be caught [cert-err58-cpp] TEST_CASE("example") {
The macro expansion ended at
note: possibly throwing constructor declared here
TestCase(funcType test, const char* file, unsigned line, const TestSuite& test_suite,
Extra information
The good news is that doctest satisfies all the other checks :)
The text was updated successfully, but these errors were encountered: