diff options
author | Alexander Kornienko <alexfh@google.com> | 2016-09-27 14:49:45 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2016-09-27 14:49:45 +0000 |
commit | f1e68ffaf060fb6e0950c4381777cbe908c24b2e (patch) | |
tree | 3877182f6311db03adc1fc96a7c8142afe71c30d /llvm/docs/CodingStandards.rst | |
parent | da4687c5313e9befb9af9e2ad7e3a3e5b4c7938e (diff) | |
download | bcm5719-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.rst | 2 |
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. |