[PATCH] Use value semantics for list of ScopStmt(s) instead of std::owningptr
tobias at grosser.es
Tue May 26 14:52:40 PDT 2015
Hi jdoerfert, dblaikie,
David Blaike suggested this as an alternative to the use of owningptr(s) for our
memory management, as value semantics allow to avoid the additional interface
complexity caused by owningptr while still providing similar memory consistency
guarantees. We could also have used a std::vector, but the use of std::vector
would yield possibly changing pointers which currently causes problems as for
example the memory accesses carry pointers to their parent statements. Such
pointers should not change.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 16830 bytes
Desc: not available
More information about the llvm-commits