Skip to content

Clang refuses to inline one-liners #150319

@StreetwareGames

Description

@StreetwareGames

https://godbolt.org/z/sKob5YhW3

You can uncomment either 1) or 2) and it will stop inlining. Seems to be a bug to me. Happens in both C and C++

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions