summaryrefslogtreecommitdiffstats
path: root/llvm/docs
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/docs')
-rw-r--r--llvm/docs/CodingStandards.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CodingStandards.rst b/llvm/docs/CodingStandards.rst
index 93feea560ce..0067db55e61 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.
OpenPOWER on IntegriCloud