Skip to content
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

Improve handling of c++ attrs #1768

Closed
wants to merge 1 commit into from
Closed

Improve handling of c++ attrs #1768

wants to merge 1 commit into from

Conversation

wsmoses
Copy link
Member

@wsmoses wsmoses commented Feb 28, 2024

Now should work with templates

@wsmoses wsmoses force-pushed the improveattrs branch 3 times, most recently from 5280808 to 010fa03 Compare February 28, 2024 01:12
Comment on lines +408 to +409
changed = true;
changed |= preserveLinkage(Begin, F);
Copy link
Member

Choose a reason for hiding this comment

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

true v x => true

Comment on lines +383 to +384
// as first field, and the annotation as second field
if (ConstantStruct *CS = dyn_cast<ConstantStruct>(CAOp)) {
Copy link
Member

Choose a reason for hiding this comment

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

Can we reduce the indentation level here with something like this

ConstantStruct *CS = dyn_cast<ConstantStruct>(CAOp
if (!CS)
   continue;

same for the following lines.

@wsmoses
Copy link
Member Author

wsmoses commented Aug 25, 2024

superceeded by upstream

@wsmoses wsmoses closed this Aug 25, 2024
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.

2 participants