llvm-capstone/lldb
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
..
cmake [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
docs Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
examples Revert "[testsuite] Port crashlog and dependencies to Python 3." 2019-03-05 01:34:47 +00:00
include/lldb Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
lit [lldb] [lit] Attempt to fix regex in toolchain-clang.test 2019-03-06 14:49:48 +00:00
lldb.xcodeproj [SBAPI] Don't check IsValid in constructor 2019-03-06 00:05:55 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite Remove redundant second os.path.join call [NFC] 2019-03-06 20:51:28 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts [build] Rename clang-headers to clang-resource-headers 2019-03-04 21:19:53 +00:00
source Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
test [CMake] Make lldb-test-deps a dependency of check-lldb 2019-02-13 20:51:13 +00:00
third_party/Python/module [dotest] Consider unexpected passes as failures. 2018-12-20 20:44:23 +00:00
tools [Reproducers] Enable replay from SBRepro. 2019-03-06 01:49:57 +00:00
unittests Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
utils Use sys.executable in lldb-dotest 2019-02-15 07:41:17 +00:00
www Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [cmake] Move LLDB_DISABLE_LIBEDIT handling code into a central place 2019-02-28 16:04:54 +00:00
CODE_OWNERS.txt
INSTALL.txt
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py