diff options
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> |