diff options
author | Dan Gohman <gohman@apple.com> | 2010-02-25 16:50:07 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-02-25 16:50:07 +0000 |
commit | ff3ef32c359d3a6575e9f17202b18c49b000b7a3 (patch) | |
tree | 3890cc02942a18d4b08ed45b4af535baf5abdfd2 /docs/LangRef.html | |
parent | 9ee0d8a917a90380afc65c5b8fcea9d9975e6749 (diff) | |
download | llvm-ff3ef32c359d3a6575e9f17202b18c49b000b7a3.tar.gz llvm-ff3ef32c359d3a6575e9f17202b18c49b000b7a3.tar.bz2 llvm-ff3ef32c359d3a6575e9f17202b18c49b000b7a3.tar.xz |
Clarify the description of pointer types, and move the
address space content to its own paragraph.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97143 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r-- | docs/LangRef.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html index 8cc182b021..c35d70077f 100644 --- a/docs/LangRef.html +++ b/docs/LangRef.html @@ -1827,10 +1827,13 @@ Classifications</a> </div> <div class="doc_text"> <h5>Overview:</h5> -<p>As in many languages, the pointer type represents a pointer or reference to - another object, which must live in memory. Pointer types may have an optional - address space attribute defining the target-specific numbered address space - where the pointed-to object resides. The default address space is zero.</p> +<p>The pointer type is used to specify memory locations. + Pointers are commonly used to reference objects in memory.</p> + +<p>Pointer types may have an optional address space attribute defining the + numbered address space where the pointed-to object resides. The default + address space is number zero. The semantics of non-zero address + spaces are target-specific.</p> <p>Note that LLVM does not permit pointers to void (<tt>void*</tt>) nor does it permit pointers to labels (<tt>label*</tt>). Use <tt>i8*</tt> instead.</p> |