From 4a51a59a4bc5d1fdca576a26f037703aea3693aa Mon Sep 17 00:00:00 2001
From: Chris Lattner
Date: Sun, 8 Feb 2009 19:53:29 +0000
Subject: [PATCH] document pointer type constraints, PR3513
llvm-svn: 64088
---
docs/LangRef.html | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/docs/LangRef.html b/docs/LangRef.html
index e58d159cbf0..dc6d7f2dae1 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.
+
+Note that LLVM does not permit pointers to void (void*) nor does
+it permit pointers to labels (label*). Use i8* intead.
+
Syntax:
<type> *
Examples: