[llvm-commits] patch 2: langref "derived types" cleanup

Nick Lewycky nicholas at mxc.ca
Sat Sep 26 20:37:42 PDT 2009


This patch continues the process of cleaning up the langref by auditing 
the definitions of every type. It also modifies the definition "first 
class type" to include packed structures and opaque, while excluding 
metadata*.

I should take an extra moment to mention that there's actually two 
definitions of "primitive type" and "derived type" in the LangRef. One 
is in the table of contents with each type in a section under one of 
those headings. The other is under "type classifications" which has the 
definitions that actually line up with the Type::isPrimitiveType() method.

This removes some of the mentions of "types that are sized" (yet another 
term which is used but never defined in LangRef) and replaces them with 
references to first class types. Further cleanup will be needed to 
remove the rest of them, as well as deal with "scalar type" and 
"aggregate type" which are in the same boat.

Please review.

Nick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: langref-2.patch
Type: text/x-patch
Size: 5523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090926/bfc31e6d/attachment.bin>


More information about the llvm-commits mailing list