[llvm-dev] Value &operator=(const Value &) = delete;

Abid Malik via llvm-dev llvm-dev at lists.llvm.org
Wed Jan 29 12:24:43 PST 2020

Does it mean we can not dereference the Value variables?

Value *val = some operand of an instruction;
Value *val2=  some operand of another instruction;

I am trying to rewire the operand values of an instruction using:

*val = *val2;

It seems that this is not allowed.


Abid M. Malik
"I have learned silence from the talkative, toleration from the intolerant,
and kindness from the unkind"---Gibran
"Success is not for the chosen few, but for the few who choose" --- John
"Being a good person does not depend on your religion or status in life,
your race or skin color, political views or culture. IT DEPENDS ON HOW GOOD
"The Universe is talking to us, and the language of the Universe is
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200129/3ac3c42c/attachment.html>

More information about the llvm-dev mailing list