[LLVMdev] CreateOr no matching member error
Rasha Omar
rasha.sala7 at gmail.com
Fri Aug 16 06:47:21 PDT 2013
For the following code:
Type * type = IntegerType::getInt32Ty(getGlobalContext());
IRBuilder<> builder(BB);
std::set<Value *> Vset;
Value * Vresult=0;
for(std::set<Value*>::iterator Vit=Vset.begin();Vit!=Vset.end();Vit++)
{
Vresult=builder.CreateOr(Vit, Vresult, "WaitOr");
}
Vset is inserted in previous loop by 0 or 1 The error is
error: no matching member function for call to 'CreateOr'
Vresult=builder.CreateOr(Vit, Vresult, "WaitOr");
Which input is wrong in the CreateOr() ?
--
* Rasha Salah Omar
Msc Student at E-JUST
Demonestrator at Faculty of Computers and Informatics
Benha University*
* e-mail: rasha.omar at ejust.edu.eg*
P* Please consider the environment before printing this email.*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20130816/15780333/attachment.html>
More information about the llvm-dev
mailing list