[llvm-commits] [llvm] r97143 - /llvm/trunk/docs/LangRef.html
Dan Gohman
gohman at apple.com
Thu Feb 25 08:50:08 PST 2010
Author: djg
Date: Thu Feb 25 10:50:07 2010
New Revision: 97143
URL: http://llvm.org/viewvc/llvm-project?rev=97143&view=rev
Log:
Clarify the description of pointer types, and move the
address space content to its own paragraph.
Modified:
llvm/trunk/docs/LangRef.html
Modified: llvm/trunk/docs/LangRef.html
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/LangRef.html?rev=97143&r1=97142&r2=97143&view=diff
==============================================================================
--- llvm/trunk/docs/LangRef.html (original)
+++ llvm/trunk/docs/LangRef.html Thu Feb 25 10:50:07 2010
@@ -1827,10 +1827,13 @@
<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>
More information about the llvm-commits
mailing list