-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[NFC] Eliminate need of Emacs tag and file name in file header #118553
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
- Simplify file header to not require file name and C++ Emacs tag. See https://discourse.llvm.org/t/is-c-in-header-files-still-relevant/83124/1
|
@nikic and @AaronBallman PTAL at the discourse thread above and see if we want to make this amendment to the coding standards. This does not mean that all files will be immediately updated to strip out the current header, but over time. |
nikic
left a comment
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.
LGTM, the discourse thread has a clear consensus that the emacs marker is no longer necessary, and the file name and impracticably short description are not useful.
|
Thanks. @AaronBallman will wait a couple of days to give you a chance to look as well. Will merge towards EOW. |
AaronBallman
left a comment
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.
LGTM, thank you!
After #118553, emacs tag is no longer needed in LLVM files: https://llvm.org/docs/CodingStandards.html#file-headers. This patch removes it from `add_new_check.py` lowering complexity we need to maintain.
…s (#153942) After llvm/llvm-project#118553, emacs tag is no longer needed in LLVM files: https://llvm.org/docs/CodingStandards.html#file-headers. This patch removes it from `add_new_check.py` lowering complexity we need to maintain.
See https://discourse.llvm.org/t/is-c-in-header-files-still-relevant/83124/1