-
Notifications
You must be signed in to change notification settings - Fork 14.8k
[APINotes] Upstream APINotesWriter #65187
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
Conversation
294610b
to
e2150c2
Compare
e2150c2
to
a553de6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would appreciate the removal of the noted unnecessary braces, but LGTM.
// Translate the selector reference into a stored selector. | ||
StoredObjCSelector Selector; | ||
Selector.Identifiers.reserve(SelectorRef.Identifiers.size()); | ||
for (auto piece : SelectorRef.Identifiers) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Braces aren't really needed... almost makes me prefer a std::transform
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, removed the braces
This upstreams more of the Clang API Notes functionality that is currently implemented in the Apple fork: https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes
a553de6
to
a3e7232
Compare
This upstreams more of the Clang API Notes functionality that is currently implemented in the Apple fork: https://github.com/apple/llvm-project/tree/next/clang/lib/APINotes