[llvm-dev] GlobalVariable constructor vs Function::Create

Russell Wallace via llvm-dev llvm-dev at lists.llvm.org
Wed May 1 08:52:18 PDT 2019

Looking at the global object concrete classes, it seems GlobalVariable
provides a constructor, whereas Function makes the constructors private or
deleted, and instead provides a public static Create function.

Is there a reason for this difference?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190501/0eb05e9f/attachment.html>

More information about the llvm-dev mailing list