[LLVMdev] NoFolder class problem

Daniel Dunbar daniel at zuster.org
Sun Nov 22 10:35:55 PST 2009


Appled as r89606, thanks.

 - Daniel

On Fri, Nov 20, 2009 at 5:06 AM, Artur Pietrek <pietreka at gmail.com> wrote:
> Hi all,
> while I was playing a little bit with IRBuilder I ended up with something
> like this when included NoFolder.h
> /work/llvm/include/llvm/User.h: In member function ‘llvm::Value*
> llvm::NoFolder::CreateExtractElement(llvm::Constant*, llvm::Constant*)
> const’:
> /work/llvm/include/llvm/User.h:48: error: ‘static void* llvm::User::operator
> new(size_t)’ is private
> /work/llvm/include/llvm/Support/NoFolder.h:177: error: within this context
> /work/llvm/include/llvm/Instructions.h:1177: error:
> ‘llvm::ExtractElementInst::ExtractElementInst(llvm::Value*, llvm::Value*,
> const llvm::Twine&, llvm::Instruction*)’ is private
> /work/llvm/include/llvm/Support/NoFolder.h:177: error: within this context
>
> Patch attached
> Artur
> _______________________________________________
> 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