[llvm-commits] [llvm] r78097 - in /llvm/trunk: include/llvm/LLVMContext.h lib/VMCore/Constants.cpp lib/VMCore/LLVMContextImpl.cpp lib/VMCore/LLVMContextImpl.h

Owen Anderson resistor at mac.com
Tue Aug 4 20:43:40 PDT 2009


On Aug 4, 2009, at 7:32 PM, Chris Lattner wrote:
> Also, LLVMContext should be uniformly declared as a class:
> http://llvm.org/docs/CodingStandards.html#ci_class_struct

Actually, it is intended to be an all-members-are-public type, so  
struct is appropriate.  The only use of private is to prevent the  
compiler from generating default and copy constructors, not to define  
actual members.

--Owen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090804/7b9ce3ab/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2620 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20090804/7b9ce3ab/attachment.bin>


More information about the llvm-commits mailing list