Skip to content

Enable clang-tidy's clang-analyzer-unix.Malloc check #394

@qdeslandes

Description

@qdeslandes

This check would have saved use from a bug fixed in #393. However, enabling it creates a lot of false positives, because clang-tidy don't acknowledge the cleanup attribute. There could be a way to solve this as per https://clang.llvm.org/docs/AttributeReference.html#analyzer-ownership-attrs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: testsUnit tests, integration, end-to-end...priority: 3Low priority, backlog

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions