Skip to content

[SYCL] Add assert for LangOpts and ParseKind in LanguageOptionsSpecificAttr#7947

Merged
bader merged 1 commit intointel:syclfrom
steffenlarsen:steffen/assert_langopts_in_attrs
Jan 9, 2023
Merged

[SYCL] Add assert for LangOpts and ParseKind in LanguageOptionsSpecificAttr#7947
bader merged 1 commit intointel:syclfrom
steffenlarsen:steffen/assert_langopts_in_attrs

Conversation

@steffenlarsen
Copy link
Contributor

This commit adds asserts that all attributes deriving from LanguageOptionsSpecificAttr define both a ParseKind and a LangOpts value.

Based on #7450 (comment)

…icAttr

This commit adds asserts that all attributes deriving from
LanguageOptionsSpecificAttr define both a ParseKind and a LangOpts
value.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner January 6, 2023 14:11
@steffenlarsen steffenlarsen temporarily deployed to aws January 6, 2023 14:35 — with GitHub Actions Inactive
@steffenlarsen steffenlarsen temporarily deployed to aws January 6, 2023 15:05 — with GitHub Actions Inactive
Copy link
Contributor

@premanandrao premanandrao left a comment

Choose a reason for hiding this comment

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

I haven't ever come to this part of the code before. With that caveat, this change looks okay to me.

Copy link
Contributor

@smanna12 smanna12 left a comment

Choose a reason for hiding this comment

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

LGTM

@bader bader merged commit 03e70b4 into intel:sycl Jan 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants