llvm/llvm-project

[libc] Clean up copt naming

开放

#133,505 创建于 2025年3月28日

 (6 条评论) (0 个反应) (1 位负责人)C++ (10,782 个派生)batch import
good first issuelibc

仓库指标

星标
 (26,378 个星标)
PR 合并指标
 (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.

贡献者指南