aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit0fd4a27ec0b4c890c3c0deb36ef0896a4400ea4d (patch)
tree8ab3c3607fbf3ba4fb29064be780ac5ab714fcd3 /docs/LangRef.html
parent6dff394afda28f66a521246d0562dc788995a577 (diff)
downloadexternal_llvm-0fd4a27ec0b4c890c3c0deb36ef0896a4400ea4d.zip
external_llvm-0fd4a27ec0b4c890c3c0deb36ef0896a4400ea4d.tar.gz
external_llvm-0fd4a27ec0b4c890c3c0deb36ef0896a4400ea4d.tar.bz2
document pointer type constraints, PR3513
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64088 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/LangRef.html')
-rw-r--r--docs/LangRef.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/LangRef.html b/docs/LangRef.html
index e58d159..dc6d7f2 100644
--- a/docs/LangRef.html
+++ b/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>