hanchenye-llvm-project/lldb/docs
Adrian Prantl 0e4c482124 Pass ConstString by value (NFC)
My apologies for the large patch. With the exception of ConstString.h
itself it was entirely produced by sed.

ConstString has exactly one const char * data member, so passing a
ConstString by reference is not any more efficient than copying it by
value. In both cases a single pointer is passed. But passing it by
value makes it harder to accidentally return the address of a local
object.

(This fixes rdar://problem/48640859 for the Apple folks)

Differential Revision: https://reviews.llvm.org/D59030

llvm-svn: 355553
2019-03-06 21:22:25 +00:00
..
_static Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
resources Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
status Mention predicting exception catch at throw site 2019-02-26 19:18:09 +00:00
structured_data Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
testsuite
use Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
CMakeLists.txt Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
code-signing.txt
conf.py Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
doxygen.cfg.in
doxygen.footer
doxygen.header
doxygen.intro
index.rst Add LLDB website and documentation in reStructuredText for Sphinx 2019-01-30 18:51:40 +00:00
lldb-for-gdb-users.txt
lldb-gdb-remote.txt
lldb-platform-packets.txt Add a description of the similar packets defined in the 2018-12-16 18:44:54 +00:00
lldb.1