[llvm-commits] [PATCH] Alloca clarification in LangRef

Matt Johnson johnso87 at illinois.edu
Sat Feb 11 00:33:19 PST 2012


Hi all,
     The attached patch clears up an ambiguity in the textual 
description of alloca in LangRef.  The "Syntax" section points out (in a 
comment off to the side) that an alloca allocating multiple elements 
still returns a type*, not a pointer to some newly created 
array-of-type.  I propagated this information down to the "arguments" 
section, which previously just said "the appropriate type".  I then 
re-80-columned and made a couple minor stylistic changes to the 
surrounding sentences.
Thanks!
-Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: alloca_langref.patch
Type: text/x-patch
Size: 1341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120211/4d4f492d/attachment.bin>


More information about the llvm-commits mailing list