Skip to content

Commit 838b7a3

Browse files
author
Jim Grosbach
committed
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
1 parent b4b26f8 commit 838b7a3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/ProgrammersManual.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,6 +1734,9 @@ <h4>
17341734

17351735
<p>StringMap also provides query methods that take byte ranges, so it only ever
17361736
copies a string if a value is inserted into the table.</p>
1737+
1738+
<p>StringMap iteratation order, however, is not guaranteed to be deterministic,
1739+
so any uses which require that should instead use a std::map.</p>
17371740
</div>
17381741

17391742
<!-- _______________________________________________________________________ -->

0 commit comments

Comments
 (0)