Skip to content

operator delete isn't annotated with captures(none) #136479

@philnik777

Description

@philnik777

I'm not 100% certain that it would be correct to annotate operator delete with captures(none), but operator new is already being annotated with noalias, even though that's technically not guaranteed to be correct. Should Clang add captures(none) with -fassume-sane-operator-new?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions