From: Jim Grosbach Date: Wed, 18 Apr 2012 20:28:55 +0000 (+0000) Subject: Document that StringMap iteration order is non-deterministic. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=838b7a33f49dd1bab5b0c609368ab8b0a44cba83;p=oota-llvm.git 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 --- diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 1a7f215ae0a..267ff922006 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

StringMap also provides query methods that take byte ranges, so it only ever copies a string if a value is inserted into the table.

+ +

StringMap iteratation order, however, is not guaranteed to be deterministic, +so any uses which require that should instead use a std::map.