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

This reverts commit ee9ccb1103.

See https://reviews.llvm.org/D140585#4019417 and following.
Multiple people requested a revert of this change pending further
discussion.
This commit is contained in:
Nikita Popov 2023-01-06 09:44:27 +01:00
parent e3c2faa64a
commit c8ec751d88

View File

@ -1093,10 +1093,8 @@ In general, names should be in camel case (e.g. ``TextFileReader`` and
nouns and start with an upper-case letter (e.g. ``TextFileReader``).
* **Variable names** should be nouns (as they represent state). The name should
be camel case. In ``llvm/``, ``clang/``, ``clang-tools-extra/``, ``polly/``,
and ``bolt/``, the name should start with an upper-case letter (e.g.
``Leader`` or ``Boats``); start with a lower case-letter letter for other
directories.
be camel case, and start with an upper case letter (e.g. ``Leader`` or
``Boats``).
* **Function names** should be verb phrases (as they represent actions), and
command-like function should be imperative. The name should be camel case,