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

Add clang-tidy check to disallow relative includes #63226

Open
ErezAmihud opened this issue Jun 9, 2023 · 3 comments
Open

Add clang-tidy check to disallow relative includes #63226

ErezAmihud opened this issue Jun 9, 2023 · 3 comments
Labels
check-request Request for a new check in clang-tidy clang-tidy

Comments

@ErezAmihud
Copy link

ErezAmihud commented Jun 9, 2023

Hi, it would be nice to add a check that warn if it finds a relative include. This is to allow people to easily conform to the canonical project structure - https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1204r0.html

This is the relevant merge request: https://reviews.llvm.org/D152589#change-ad48pDxvPnqd

@EugeneZelenko EugeneZelenko added clang-tidy check-request Request for a new check in clang-tidy and removed new issue labels Jun 9, 2023
@llvmbot
Copy link
Collaborator

llvmbot commented Jun 9, 2023

@llvm/issue-subscribers-clang-tidy

@EugeneZelenko
Copy link
Contributor

EugeneZelenko commented Jun 9, 2023

@ErezAmihud: Could you please allow everybody to edit request?

@ErezAmihud
Copy link
Author

@ErezAmihud: Could you please allow everybody to edit request?

Sure, changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
check-request Request for a new check in clang-tidy clang-tidy
Projects
None yet
Development

No branches or pull requests

3 participants