From 9d69d4aadd4a58aba5634d5c3d2c2a6d8d284134 Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Mon, 18 Jul 2011 01:40:02 +0000
Subject: introduce a new TinyPtrVector class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135365 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ProgrammersManual.html | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
(limited to 'docs')
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 5565973ac1..bfa721ddc9 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -59,6 +59,7 @@ option
llvm/ADT/ArrayRef.h
Fixed Size Arrays
Heap Allocated Arrays
+ "llvm/ADT/TinyPtrVector.h"
"llvm/ADT/SmallVector.h"
<vector>
<deque>
@@ -926,6 +927,24 @@ destructors will be run for every element in the array (re-sizable vectors only
construct those elements actually used).
+
+
+
+
+
+
TinyPtrVector<Type> is a highly specialized collection class
+that is optimized to avoid allocation in the case when a vector has zero or one
+elements. It has two major restrictions: 1) it can only hold values of pointer
+type, and 2) it cannot hold a null pointer.
+
+
Since this container is highly specialized, it is rarely used.
+
+
+
+