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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091120/35d2bfb8/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: nofolder.patch Type: application/octet-stream Size: 473 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20091120/35d2bfb8/attachment.obj>
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 > >
Reasonably Related Threads
- [LLVMdev] Missing :CreateFNeg() in NoFolder.h
- [LLVMdev] Missing :CreateFNeg() in NoFolder.h
- [LLVMdev] Missing :CreateFNeg() in NoFolder.h
- [LLVMdev] Disabling optimizations when using llvm::createPrintModulePass
- [LLVMdev] InsertElementInst and ExtractElementInst