From ff3ef32c359d3a6575e9f17202b18c49b000b7a3 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97143 91177308-0d34-0410-b5e6-96231b3b80d8 --- docs/LangRef.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/docs/LangRef.html b/docs/LangRef.html index 8cc182b0217..c35d70077fe 100644 --- a/docs/LangRef.html +++ b/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.

-- 2.34.1