[all-commits] [llvm/llvm-project] ee9ccb: CodingStandards: restrict CamelCase variable names...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Dec 28 12:48:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee9ccb11036ac46ff9b9f3fa2d459d9d2bce5509
      https://github.com/llvm/llvm-project/commit/ee9ccb11036ac46ff9b9f3fa2d459d9d2bce5509
  Author: Fangrui Song <i at maskray.me>
  Date:   2022-12-28 (Wed, 28 Dec 2022)

  Changed paths:
    M llvm/docs/CodingStandards.rst

  Log Message:
  -----------
  CodingStandards: restrict CamelCase variable names guideline to llvm/clang/clang-tools-extra/polly/bolt

See https://discourse.llvm.org/t/top-level-clang-tidy-options-and-variablename-suggestion-on-codingstandards/58783 ,
the CamelCase variable names guideline does not reflect the truth:
flang, libc, libclc, libcxx, libcxxabi, libunwind, lld, mlir, openmp,
and pstl use camelCase. lldb uses snake_case.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D140585




More information about the All-commits mailing list