summaryrefslogtreecommitdiffstats
path: root/llvm/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
commitf1e68ffaf060fb6e0950c4381777cbe908c24b2e (patch)
tree3877182f6311db03adc1fc96a7c8142afe71c30d /llvm/docs/CodingStandards.rst
parentda4687c5313e9befb9af9e2ad7e3a3e5b4c7938e (diff)
downloadbcm5719-llvm-f1e68ffaf060fb6e0950c4381777cbe908c24b2e.tar.gz
bcm5719-llvm-f1e68ffaf060fb6e0950c4381777cbe908c24b2e.zip
[docs] Fix naming style in the example
llvm-svn: 282490
Diffstat (limited to 'llvm/docs/CodingStandards.rst')
-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