Skip to content

add a TYPE suffix to all asciidoctor type attributes#444

Merged
alycm merged 1 commit intoKhronosGroup:masterfrom
bashbaug:add-type-suffix
Sep 16, 2020
Merged

add a TYPE suffix to all asciidoctor type attributes#444
alycm merged 1 commit intoKhronosGroup:masterfrom
bashbaug:add-type-suffix

Conversation

@bashbaug
Copy link
Copy Markdown
Contributor

Fixes #443.

Because asciidoctor attributes are not currently case-sensitive, the TYPE suffix is needed to disambiguate between an API type and an enum with the same name.

Because asciidoctor attributes are not currently case-sensitive,
the TYPE suffix is needed to disambiguate between an API type and
an enum with the same name.
@bashbaug bashbaug requested a review from alycm September 15, 2020 00:59
@bashbaug bashbaug added the OpenCL API Spec Issues related to the OpenCL API specification. label Sep 15, 2020
@bashbaug
Copy link
Copy Markdown
Contributor Author

FWIW, I found another case that will be fixed by this PR: Without this change there is an ambiguity between the CL_FLOAT image channel data type and the cl_float type.

Copy link
Copy Markdown
Contributor

@alycm alycm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I hadn't realized that the actual wrong text was ending up in the rendered output.

The changes are all very procedural, this doesn't need to wait for extra reviews, I'll merge immediately.

@alycm alycm merged commit bb7df89 into KhronosGroup:master Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OpenCL API Spec Issues related to the OpenCL API specification.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

handle case-insensitive asciidoctor attributes

2 participants