From d3f876c93c9ce33899a9feca3c0e8de1a895008f Mon Sep 17 00:00:00 2001
From: Reid Spencer
Date: Mon, 1 Nov 2004 08:19:36 +0000
Subject: Minor format tweask for tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17394 91177308-0d34-0410-b5e6-96231b3b80d8
---
docs/ProgrammersManual.html | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
(limited to 'docs/ProgrammersManual.html')
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index c554c74..8ff45c9 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -1939,20 +1939,20 @@ however, are stored in a single dimension and accessed only by name.
the beginning or end of the sequence for both const and non-const. It is
important to keep track of the different kinds of iterators. There are
three idioms worth pointing out:
-
+
Units | Iterator | Idiom |
- Planes Of name/Value maps | PI |
-
+ Planes Of name/Value maps | PI |
+
for (SymbolTable::plane_const_iterator PI = ST.plane_begin(),
-PE = ST.plane_end(); PI != PE; ++PI ) {
+ PE = ST.plane_end(); PI != PE; ++PI ) {
PI->first // This is the Type* of the plane
PI->second // This is the SymbolTable::ValueMap of name/Value pairs
|
|
- All name/Type Pairs | TI |
-
+ All name/Type Pairs | TI |
+
for (SymbolTable::type_const_iterator TI = ST.type_begin(),
TE = ST.type_end(); TI != TE; ++TI )
TI->first // This is the name of the type
@@ -1960,8 +1960,8 @@ for (SymbolTable::type_const_iterator TI = ST.type_begin(),
|
|
- name/Value pairs in a plane | VI |
-
+ name/Value pairs in a plane | VI |
+
for (SymbolTable::value_const_iterator VI = ST.value_begin(SomeType),
VE = ST.value_end(SomeType); VI != VE; ++VI )
VI->first // This is the name of the Value
--
cgit v1.1
| |