document pointer type constraints, PR3513
authorChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 19:53:29 +0000 (19:53 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 8 Feb 2009 19:53:29 +0000 (19:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64088 91177308-0d34-0410-b5e6-96231b3b80d8

docs/LangRef.html

index e58d159cbf0b14f8e59803cb4f3a1beaa7bbd1d8..dc6d7f2dae10335ee9b16b44a61c36b299e8527d 100644 (file)
@@ -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>