llvm/llvm-project

[libc] Clean up copt naming

Open

#133,505 建立於 2025年3月28日

在 GitHub 查看
 (6 留言) (0 反應) (1 負責人)C++ (10,782 fork)batch import
good first issuelibc

倉庫指標

Star
 (26,378 star)
PR 合併指標
 (平均合併 1天 2小時) (30 天內合併 1,000 個 PR)

描述

Our code style document says all our compile flags set by the build system should start LIBC_COPT_ but not all of them do. We should update them to fit our naming scheme.

Steps to fix:

  1. go through the flags in config.json
  2. For each flag, check what copt it defines
  3. If that copt doesn't start with LIBC_COPT_, rename it so it does.
  4. Make sure the flag is renamed everywhere it's used in code, cmake, and bazel.

貢獻者指南