From f1e68ffaf060fb6e0950c4381777cbe908c24b2e Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Tue, 27 Sep 2016 14:49:45 +0000 Subject: [PATCH] [docs] Fix naming style in the example llvm-svn: 282490 --- llvm/docs/CodingStandards.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst index 93feea560cea..0067db55e61f 100644 --- a/llvm/docs/CodingStandards.rst +++ b/llvm/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.