clang-tidy is better not to issues this warning, which checks where the initializer for the object may throw an exception, when "-fno-exceptions" is used.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Aside from a minor suggestion, LGTM!
clang-tidy/cert/StaticObjectExceptionCheck.cpp | ||
---|---|---|
26 | You can hoist this into the above if statement. |
You can hoist this into the above if statement.