[LLVMdev] A newbie question about the class hierarchy

Nai Xia xianai at gmail.com
Fri Apr 14 23:19:34 PDT 2006


Reid,

Thanks a lot for your clear explanation and update for the doc.
I think this design is neat. :)


On Friday 14 April 2006 22:15, you wrote:
> Nia,
> 
> I improved the documentation with this patch:
> http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-
> Mon-20060410/034012.html
> You can read it online, here:
> http://llvm.org/docs/ProgrammersManual.html#GlobalVariable
> 
> Please let me if you need further explanation in the documentation.
> 
> Reid.
> 
> On Fri, 2006-04-14 at 18:19 +0800, Nai Xia wrote:
> > Hi,
> > I apologize if it is a rather stupid question, I am a newbie to LLVM.
> > I notice a inconsistency between the current llvm1.6 doc and its source code.
> > The doc states that the superclasses of GlobalVariable are GlobalValue, User, Value,
> > however in the source code GlobalVariable has Constant as its super.
> > I am just curious that why "variable" should be a subclass of "constant"? 
> > 
> > Regards,
> > Nai
> > 
> > _______________________________________________
> > LLVM Developers mailing list
> > LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
> 

-- 
Regards,
Nai
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20060415/6308d4ce/attachment.sig>


More information about the llvm-dev mailing list