diff options
author | Jeffrey Yasskin <jyasskin@google.com> | 2009-10-22 22:11:22 +0000 |
---|---|---|
committer | Jeffrey Yasskin <jyasskin@google.com> | 2009-10-22 22:11:22 +0000 |
commit | 4546d3123506be9fad18fa1132e5ea45145b2ffe (patch) | |
tree | b9a00ceaeaa4e98c630d9f0248341168849fbc30 /llvm/docs/ProgrammersManual.html | |
parent | 9d2acced690ccbeee5b81af67e98c22b752396aa (diff) | |
download | bcm5719-llvm-4546d3123506be9fad18fa1132e5ea45145b2ffe.tar.gz bcm5719-llvm-4546d3123506be9fad18fa1132e5ea45145b2ffe.zip |
Try r84890 again (adding ValueMap<>), now that I've tested the compile on
gcc-4.4.
llvm-svn: 84902
Diffstat (limited to 'llvm/docs/ProgrammersManual.html')
-rw-r--r-- | llvm/docs/ProgrammersManual.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/llvm/docs/ProgrammersManual.html b/llvm/docs/ProgrammersManual.html index 68367de0bff..e4e3dc29c30 100644 --- a/llvm/docs/ProgrammersManual.html +++ b/llvm/docs/ProgrammersManual.html @@ -83,6 +83,7 @@ option</a></li> <li><a href="#dss_stringmap">"llvm/ADT/StringMap.h"</a></li> <li><a href="#dss_indexedmap">"llvm/ADT/IndexedMap.h"</a></li> <li><a href="#dss_densemap">"llvm/ADT/DenseMap.h"</a></li> + <li><a href="#dss_valuemap">"llvm/ADT/ValueMap.h"</a></li> <li><a href="#dss_map"><map></a></li> <li><a href="#dss_othermap">Other Map-Like Container Options</a></li> </ul></li> @@ -1492,6 +1493,23 @@ inserted into the map) that it needs internally.</p> <!-- _______________________________________________________________________ --> <div class="doc_subsubsection"> + <a name="dss_valuemap">"llvm/ADT/ValueMap.h"</a> +</div> + +<div class="doc_text"> + +<p> +ValueMap is a wrapper around a <a href="#dss_densemap">DenseMap</a> mapping +Value*s (or subclasses) to another type. When a Value is deleted or RAUW'ed, +ValueMap will update itself so the new version of the key is mapped to the same +value, just as if the key were a WeakVH. You can configure exactly how this +happens, and what else happens on these two events, by passing +a <code>Config</code> parameter to the ValueMap template.</p> + +</div> + +<!-- _______________________________________________________________________ --> +<div class="doc_subsubsection"> <a name="dss_map"><map></a> </div> |