Skip to content

_Atomic along with restrict is considered an error #173106

@tydeman

Description

@tydeman

I believe that in this code:

static int * restrict a36;
static int * _Atomic b36;
static int * _Atomic restrict i36;	/* error here */

both '_Atomic' and 'restrict' are valid type qualifiers.
Yet, the third line is considered an error.

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