diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst --- a/llvm/docs/CodingStandards.rst +++ b/llvm/docs/CodingStandards.rst @@ -1112,8 +1112,10 @@ 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, and start with an upper case letter (e.g. ``Leader`` or - ``Boats``). + 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. * **Function names** should be verb phrases (as they represent actions), and command-like function should be imperative. The name should be camel case,