OSDN Git Service

Document that StringMap iteration order is non-deterministic.
authorJim Grosbach <grosbach@apple.com>
Wed, 18 Apr 2012 20:28:55 +0000 (20:28 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 18 Apr 2012 20:28:55 +0000 (20:28 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155040 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ProgrammersManual.html

index 1a7f215..267ff92 100644 (file)
@@ -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>
 
 <!-- _______________________________________________________________________ -->