summaryrefslogtreecommitdiffstats
path: root/llvm/docs/CodingStandards.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-06-30 06:27:54 +0000
committerChris Lattner <sabre@nondot.org>2009-06-30 06:27:54 +0000
commit67f2a4ac4e5188e38ba970b2fe8b38f527d5149e (patch)
tree89bc6c38b9713602ffc47c05c7bbe0d6a1ad1d5a /llvm/docs/CodingStandards.html
parentd466ea1b0873ce07700f5a0c48709da2edf227ff (diff)
downloadbcm5719-llvm-67f2a4ac4e5188e38ba970b2fe8b38f527d5149e.tar.gz
bcm5719-llvm-67f2a4ac4e5188e38ba970b2fe8b38f527d5149e.zip
got confused again
llvm-svn: 74514
Diffstat (limited to 'llvm/docs/CodingStandards.html')
-rw-r--r--llvm/docs/CodingStandards.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/docs/CodingStandards.html b/llvm/docs/CodingStandards.html
index ff29b39d6b7..dbe95a8d588 100644
--- a/llvm/docs/CodingStandards.html
+++ b/llvm/docs/CodingStandards.html
@@ -709,7 +709,7 @@ at the start of the loop. In this case, the cost is probably minor: a few extra
loads every time through the loop. However, if the base expression is more
complex, then the cost can rise quickly. I've seen loops where the end
expression was actually something like: "<tt>SomeMap[x]->end()</tt>" and map
-lookups really aren't cheap. By writing it in the first form consistently, you
+lookups really aren't cheap. By writing it in the second form consistently, you
eliminate the issue entirely and don't even have to think about it.</p>
<p>The second (even bigger) issue is that writing the loop in the first form
OpenPOWER on IntegriCloud