[LLVMdev] Multiclass inheritance?

Elvis Dowson elvis.dowson at mac.com
Tue Mar 24 08:39:23 PDT 2009


Hi,
	Just wondering, java is supposed to have only single inheritance  
support, but in the language realization, you can simultaneously  
realize an abstract interface class, and extend from a base class.

Perhaps this may be an intermediate solution?

Best regards,

Elvis

On Mar 24, 2009, at 6:28 PM, Chris Lattner wrote:

> On Mar 23, 2009, at 5:14 PM, David Greene wrote:
>> In TableGen, can multiclasses inherit from one another?  I notice
>> that there's
>> a lot of redundancy in the X86 .td files that could go away with
>> multiclass
>> inheritance.
>
> Nope, not currently.  That would be a nice feature though!
>
> -Chris
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev




More information about the llvm-dev mailing list