From 88481119520ee929867a0ababf39823ad90f74e9 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 25 Feb 2010 16:50:07 +0000 Subject: [PATCH] Clarify the description of pointer types, and move the address space content to its own paragraph. llvm-svn: 97143 --- llvm/docs/LangRef.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/llvm/docs/LangRef.html b/llvm/docs/LangRef.html index 8cc182b0217d..c35d70077fe5 100644 --- a/llvm/docs/LangRef.html +++ b/llvm/docs/LangRef.html @@ -1827,10 +1827,13 @@ Classifications
Overview:
-

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.

+

The pointer type is used to specify memory locations. + Pointers are commonly used to reference objects in memory.

+ +

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.

Note that LLVM does not permit pointers to void (void*) nor does it permit pointers to labels (label*). Use i8* instead.