[docs] Fix naming style in the example
authorAlexander Kornienko <alexfh@google.com>
Tue, 27 Sep 2016 14:49:45 +0000 (14:49 +0000)
committerAlexander Kornienko <alexfh@google.com>
Tue, 27 Sep 2016 14:49:45 +0000 (14:49 +0000)
llvm-svn: 282490

llvm/docs/CodingStandards.rst

index 93feea5..0067db5 100644 (file)
@@ -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.