diff options
author | Chris Lattner <sabre@nondot.org> | 2011-04-05 23:18:20 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-04-05 23:18:20 +0000 |
commit | 8ae4261d3cbe2685fe3bad88fdd50993d09f7c6f (patch) | |
tree | 51b8ccd49c6152a943d9c25027938c507187c1bd /docs/ProgrammersManual.html | |
parent | 61f3cf3bc9c4db657eda5a4b9f4f8079e65aba8f (diff) |
mention llvm::ArrayRef, which should be use much more pervasively than
it already is.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128954 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ProgrammersManual.html')
-rw-r--r-- | docs/ProgrammersManual.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html index a280144eb6..c46f596faf 100644 --- a/docs/ProgrammersManual.html +++ b/docs/ProgrammersManual.html @@ -56,6 +56,7 @@ option</a></li> <ul> <li><a href="#ds_sequential">Sequential Containers (std::vector, std::list, etc)</a> <ul> + <li><a href="#dss_arrayref">llvm/ADT/ArrayRef.h</a></li> <li><a href="#dss_fixedarrays">Fixed Size Arrays</a></li> <li><a href="#dss_heaparrays">Heap Allocated Arrays</a></li> <li><a href="#dss_smallvector">"llvm/ADT/SmallVector.h"</a></li> @@ -891,6 +892,21 @@ needs. Pick the first in this section that will do what you want. <!-- _______________________________________________________________________ --> <div class="doc_subsubsection"> + <a name="dss_arrayref">llvm/ADT/ArrayRef.h</a> +</div> + +<div class="doc_text"> +<p>The llvm::ArrayRef class is the preferred class to use in an interface that + accepts a sequential list of elements in memory and just reads from them. By + taking an ArrayRef, the API can be passed a fixed size array, an std::vector, + an llvm::SmallVector and anything else that is contiguous in memory. +</p> +</div> + + + +<!-- _______________________________________________________________________ --> +<div class="doc_subsubsection"> <a name="dss_fixedarrays">Fixed Size Arrays</a> </div> |