Skip to content

Trivial relocatability follow up #128725

Open
@cor3ntin

Description

@cor3ntin
  • Deprecate __builtin_trivially_relocate
  • Enforce that [[trivial_abi]] is applied only to relocatable types
  • Add logic to static assert / overload resolution diagnostics to explain why a type is no relocatable
  • Detect incorrect uses of memcpy on non-bitwise-copyable types

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions