Displaying 2 results from an estimated 2 matches for "7bc2545a".
2014 Jul 18
4
[LLVMdev] [cfe-dev] Use of Smart Pointers in LLVM Projects
...eed to call .get() to pass a pointer as
an argument to a function that isn't taking ownership, but that doesn't
seem odious to me.
Cheers,
Lang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140717/7bc2545a/attachment.html>
2014 Jul 17
8
[LLVMdev] Use of Smart Pointers in LLVM Projects
There seems to be some uncertainty about the use of smart pointers
(previously OwningPtr, now std::unique_ptr and std::shared_ptr
predominantly) in the LLVM project as a whole, so here's a thread to
discuss/clarify/etc the project preferences/direction with regard to
smart pointer usage.
For some context, see discussions in LLVM r212403 and Clang r213307.
The basic question here seems to be