-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Duplicate documentation entry for {no_,}randomize_layout #133706
Comments
Hi! This issue may be a good introductory issue for people new to working on LLVM. If you would like to work on this issue, your first steps are:
If you have any further questions about this issue, don't hesitate to ask via a comment in the thread below. |
@llvm/issue-subscribers-good-first-issue Author: Janeczko Jakub (qbojj)
https://clang.llvm.org/docs/AttributeReference.html#randomize-layout-no-randomize-layout
and the following entry are (almost) the same.
The only difference is that the first table is for |
The same issue exists for xray_always_instrument, xray_never_instrument, xray_log_args and https://clang.llvm.org/docs/AttributeReference.html#cf-consumed/https://clang.llvm.org/docs/AttributeReference.html#cf-returns-not-retained, as well as others. If we're fixing one, we should fix them all at the same time. The issue is that ClangAttrEmitter.cpp doesn't unify documentation across attributes, so the same doc string used for two attributes generates two attributes on the list with identical documentation instead of merging the attributes together into one entry. |
Hi @dtcxzyw. I'd like to work on this issue. Can you assign it to me? |
Hi @AaronBallman, I've submitted a PR for this issue and would be grateful if you could kindly review it when you have a moment. Thank you so much for your time and guidance! |
Before the patch:  after the patch:  Fixes #133706
https://clang.llvm.org/docs/AttributeReference.html#randomize-layout-no-randomize-layout
and the following entry are (almost) the same.
The only difference is that the first table is for
no_randomize_layout
and the next is forrandomize_layout
.The text was updated successfully, but these errors were encountered: