[libc-commits] [libc] [libc][clang-tidy] Add llvm-header-guard to get consistant naming and prevent file copy/paste issues. (PR #66477)
Guillaume Chatelet via libc-commits
libc-commits at lists.llvm.org
Wed Sep 20 07:11:26 PDT 2023
gchatelet wrote:
> What is the goal here? Is to use clang-tidy to catch header-guard errors in `include`/`${LIBC_INCLUDE_DIR}?
The goal of this particular patch is to enable `clang-tidy` to make sure sources under `libc/src` have properly formatted header guards. Let me know if you believe they should start with `__` if so I'll create a new `clang-tidy` to enforce this rule.
https://github.com/llvm/llvm-project/pull/66477
More information about the libc-commits
mailing list