summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2009-05-01 20:40:51 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2009-05-01 20:40:51 +0000
commit1af789f74cf951919d70e13f8a3abe114d5e1b6e (patch)
treec3cbe839a8e8aa0683b84da03e377bb47c1e5de6 /docs
parent5ee24e54d76ab86279fe196c03d6e03f5b4b3b3b (diff)
downloadllvm-1af789f74cf951919d70e13f8a3abe114d5e1b6e.tar.gz
llvm-1af789f74cf951919d70e13f8a3abe114d5e1b6e.tar.bz2
llvm-1af789f74cf951919d70e13f8a3abe114d5e1b6e.tar.xz
HTML-escape '>' as '&gt;' in sample C++ code.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@70569 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/ProgrammersManual.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ProgrammersManual.html b/docs/ProgrammersManual.html
index 253e836361..b4aaafac50 100644
--- a/docs/ProgrammersManual.html
+++ b/docs/ProgrammersManual.html
@@ -2097,20 +2097,20 @@ GV-&gt;eraseFromParent();
<div class="doc_text">
<p>In generating IR, you may need some complex types. If you know these types
-statically, you can use <tt>TypeBuilder&lt;...>::get()</tt>, defined
+statically, you can use <tt>TypeBuilder&lt;...&gt;::get()</tt>, defined
in <tt>llvm/Support/TypeBuilder.h</tt>, to retrieve them. <tt>TypeBuilder</tt>
has two forms depending on whether you're building types for cross-compilation
-or native library use. <tt>TypeBuilder&lt;T, true></tt> requires
+or native library use. <tt>TypeBuilder&lt;T, true&gt;</tt> requires
that <tt>T</tt> be independent of the host environment, meaning that it's built
out of types from
the <a href="/doxygen/namespacellvm_1_1types.html"><tt>llvm::types</tt></a>
namespace and pointers, functions, arrays, etc. built of
-those. <tt>TypeBuilder&lt;T, false></tt> additionally allows native C types
+those. <tt>TypeBuilder&lt;T, false&gt;</tt> additionally allows native C types
whose size may depend on the host compiler. For example,</p>
<div class="doc_code">
<pre>
-FunctionType *ft = TypeBuilder&lt;types::i&lt;8>(types::i&lt;32>*), true>::get();
+FunctionType *ft = TypeBuilder&lt;types::i&lt;8&gt;(types::i&lt;32&gt;*), true&gt;::get();
</pre>
</div>