Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Xcode26 does not allow identifier beginning with _ floowed by a capital#491

Copy link
Copy link
@henry63

Description

@henry63
Issue body actions

Trying to compile with Xcoode 26 beta 3 leads to several error like this 馃憤 (macos ios, tvos) 馃憤

CPTNumericDataType.h:30:16 Identifier 'CPTNumericDataType' is reserved because it starts with '' followed by a capital letter

core-plot/framework/Source/CPTNumericDataType.h
core-plot/framework/Source/CPTNumericDataType.h:30:16 Identifier 'CPTNumericDataType' is reserved because it starts with '' followed by a capital letter

core-plot/framework/Source/CPTDefinitions.h
core-plot/framework/Source/CPTDefinitions.h:201:16 Identifier 'CPTRGBAColor' is reserved because it starts with '' followed by a capital letter

etc.

It looks like a recent implementation of bugprone-reserved-identifier, in clang.

""This patch adds bugprone-reserved-identifier, which flags uses of __names _Like ::_this, which are reserved for the implementation. The check can optionally be inverted, i.e. configured to flag any names that are not reserved, which may be useful for e.g. standard library implementors.
This diff is relative to, and dependent on, https://reviews.llvm.org/D72284. Not sure if there's a way to chain it or flag it as such within Phabricator, if so let me know.""

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.