summaryrefslogtreecommitdiffstats
path: root/llvm/docs/LangRef.html
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-02-08 19:53:29 +0000
committerChris Lattner <sabre@nondot.org>2009-02-08 19:53:29 +0000
commit4a67c91d0bd78cb963045a5080b7e3efc8a05eb9 (patch)
tree4f7177f95ca362c939849b1da89dac044a4f52be /llvm/docs/LangRef.html
parentf7ae0d1fb224c77af69bddccaacccd29dea6e587 (diff)
downloadbcm5719-llvm-4a67c91d0bd78cb963045a5080b7e3efc8a05eb9.tar.gz
bcm5719-llvm-4a67c91d0bd78cb963045a5080b7e3efc8a05eb9.zip
document pointer type constraints, PR3513
llvm-svn: 64088
Diffstat (limited to 'llvm/docs/LangRef.html')
-rw-r--r--llvm/docs/LangRef.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html
index e58d159cbf0..dc6d7f2dae1 100644
--- a/llvm/docs/LangRef.html
+++ b/llvm/docs/LangRef.html
@@ -1561,6 +1561,10 @@ 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>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*</aa> intead.</p>
+
<h5>Syntax:</h5>
<pre> &lt;type&gt; *<br></pre>
<h5>Examples:</h5>
OpenPOWER on IntegriCloud