[LLVMdev] NoFolder class problem

Artur Pietrek pietreka at gmail.com
Fri Nov 20 05:06:00 PST 2009


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>


More information about the llvm-dev mailing list