Skip to content

clang incorrectly rejects references to earlier parameters in a prototype #2418

@efriedma-quic

Description

@efriedma-quic
Bugzilla Link 2046
Resolution FIXED
Resolved on Mar 12, 2010 00:56
Version unspecified
OS Linux

Extended Description

Testcase:
int aa(int b, int x[sizeof b]) {}

This is perfectly legal C90 and C99 code, but clang claims the b is undeclared.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang: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