[llvm-dev] Is there a reason why MCAsmStreamer class doesn't have its own .h file?

Craig Topper via llvm-dev llvm-dev at lists.llvm.org
Thu Jan 21 16:04:04 PST 2016


Isn't it also marked 'final' so it can't be inherited from anyway? What's
your need to inherit from it?

On Thu, Jan 21, 2016 at 2:42 PM, Rail Shafigulin via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Does anybody know if there is a particular reason why MCAsmStreamer
> doesn't have its own .h file?
>
>
> https://github.com/llvm-mirror/llvm/blob/0e66a5f53c74056f95d178c86531d7d9cfb23da9/lib/MC/MCAsmStreamer.cpp#L41
>
> It seems like it is a good idea to have this class declared as its own
> module ( its own .cpp and .h files). That would make it easier to inherit
> from it if there is a need (like in my current case).
>
> Any help is appreciated.
>
> --
> Rail Shafigulin
> Software Engineer
> Esencia Technologies
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>


-- 
~Craig
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160121/2348447a/attachment.html>


More information about the llvm-dev mailing list