summaryrefslogtreecommitdiffstats
path: root/docs/CodingStandards.rst
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2016-09-27 14:49:45 +0000
committerAlexander Kornienko <alexfh@google.com>2016-09-27 14:49:45 +0000
commite9029b173c3fab29aef8ef201e6d0b7f6415b265 (patch)
treef8054af763051caea2698479aa233e5cddfd805c /docs/CodingStandards.rst
parentc87be4a4408ec3af96602e54ba7b65c1f43a81cb (diff)
[docs] Fix naming style in the example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282490 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/CodingStandards.rst')
-rw-r--r--docs/CodingStandards.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/CodingStandards.rst b/docs/CodingStandards.rst
index 93feea560cea..0067db55e61f 100644
--- a/docs/CodingStandards.rst
+++ b/docs/CodingStandards.rst
@@ -1169,7 +1169,7 @@ Here are some examples of good and bad names:
// kind of factories.
};
- Vehicle MakeVehicle(VehicleType Type) {
+ Vehicle makeVehicle(VehicleType Type) {
VehicleMaker M; // Might be OK if having a short life-span.
Tire Tmp1 = M.makeTire(); // Bad -- 'Tmp1' provides no information.
Light Headlight = M.makeLight("head"); // Good -- descriptive.