Skip to content

[NFC][CIR] Remove unnecessary ComplexRangeKind #1779

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 7, 2025

Conversation

AmrDeveloper
Copy link
Member

Backporting remove unnecessary ComplexRangeKind

Copy link
Collaborator

@xlauko xlauko left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -802,7 +802,8 @@ getComplexRangeAttr(LangOptions::ComplexRangeKind range) {
case LangOptions::CX_Basic:
return cir::ComplexRangeKind::Basic;
case LangOptions::CX_None:
return cir::ComplexRangeKind::None;
// The default value for ComplexRangeKind is Full is no option is selected
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
// The default value for ComplexRangeKind is Full is no option is selected
// The default value for ComplexRangeKind is Full if no option is selected

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you for catching it. I will update it in the upstream, too

@bcardosolopes bcardosolopes merged commit dfc681b into llvm:main Aug 7, 2025
6 of 9 checks passed
AmrDeveloper added a commit to llvm/llvm-project that referenced this pull request Aug 7, 2025
Fix typo in ComplexRangeKind comment

Catched in llvm/clangir#1779
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Aug 7, 2025
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.

3 participants