[Lldb-commits] [PATCH] D60271: PDBFPO: Use references instead of pointers, where possible
Pavel Labath via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Thu Apr 4 08:40:34 PDT 2019
labath created this revision.
labath added reviewers: aleksandr.urakov, amccarth.
The code was passing pointers around, expecting they would be not null.
In c++ it is possible to convey this notion explicitly by using a
Not all uses of pointers could be converted to references (e.g. one
can't store references in a container), but this will at least make it
locally obvious that code is dealing with nonnull pointers.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 9846 bytes
Desc: not available
More information about the lldb-commits