Skip to content

[Coverity] Potentially throwing call in an implicitly noexcept destructor #20711

@AlexeySachkov

Description

@AlexeySachkov

Reported as CID 535426, you can access the Coverity scan results here: https://scan.coverity.com/projects/intel-llvm?tab=overview

~Managed() {
if (!R)
return;
Adapter->call<Release>(R);
}

All destructors are implicitly noexcept and Adapter->call may throw. I understand that there is not much we can do with respect to nicely reporting it without spending unreasonable amount of resources on this edge case (relatively speaking).

In any case I'm submitting this tracker to highlight the reported issue so that we decide on a resolution - if we decide not to fix it, we probably need to add a comment to the code to simplify Coverity issues analysis going forward.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoveritybugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions