aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2012-04-18 20:28:55 +0000
committerJim Grosbach <grosbach@apple.com>2012-04-18 20:28:55 +0000
commit838b7a33f49dd1bab5b0c609368ab8b0a44cba83 (patch)
treeb9400ecc2bd18dc51f91dfe2c10b94eaa23bc5f4 /docs
parentb4b26f87fe2309abaa6fceaa71a9d6e812654c9f (diff)
downloadexternal_llvm-838b7a33f49dd1bab5b0c609368ab8b0a44cba83.zip
external_llvm-838b7a33f49dd1bab5b0c609368ab8b0a44cba83.tar.gz
external_llvm-838b7a33f49dd1bab5b0c609368ab8b0a44cba83.tar.bz2
Document that StringMap iteration order is non-deterministic.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155040 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ProgrammersManual.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 1a7f215..267ff92 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -1734,6 +1734,9 @@ already in the table, and each pair in the map is store in a single allocation
<p>StringMap also provides query methods that take byte ranges, so it only ever
copies a string if a value is inserted into the table.</p>
+
+<p>StringMap iteratation order, however, is not guaranteed to be deterministic,
+so any uses which require that should instead use a std::map.</p>
</div>
<!-- _______________________________________________________________________ -->