Skip to content
This repository was archived by the owner on Mar 28, 2020. It is now read-only.

Commit e9029b1

Browse files
committed
[docs] Fix naming style in the example
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282490 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent c87be4a commit e9029b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/CodingStandards.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ Here are some examples of good and bad names:
11691169
// kind of factories.
11701170
};
11711171

1172-
Vehicle MakeVehicle(VehicleType Type) {
1172+
Vehicle makeVehicle(VehicleType Type) {
11731173
VehicleMaker M; // Might be OK if having a short life-span.
11741174
Tire Tmp1 = M.makeTire(); // Bad -- 'Tmp1' provides no information.
11751175
Light Headlight = M.makeLight("head"); // Good -- descriptive.

0 commit comments

Comments
 (0)