From 838b7a33f49dd1bab5b0c609368ab8b0a44cba83 Mon Sep 17 00:00:00 2001 From: Jim Grosbach Date: Wed, 18 Apr 2012 20:28:55 +0000 Subject: 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 --- docs/ProgrammersManual.html | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/ProgrammersManual.html') diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index 1a7f215ae0..267ff92200 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.

-- cgit v1.2.3-18-g5258