Skip to content

[dcl.attr.noreturn]/3 Replace [[noreturn]] with noreturn for consistency #9348

Description

@BlowingWind314

[dcl.attr.noreturn]/3 says

Recommended practice: Implementations should issue a warning if a function marked [[noreturn]] might return. The value of a has-attribute-expression for the noreturn attribute should be 0 unless the implementation can issue such warnings.

It uses double brackets to enclose the attribute.

However, the enclosing double brackets are not used in all other similar contexts in [dcl.attr].

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2-BugPresentational errors and omissions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions