llvm-project/lldb/unittests
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
..
Breakpoint Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Core Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
Disassembler Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Editline Remove redundant ::get() for smart pointer. (NFC) 2019-02-12 03:47:39 +00:00
Expression [ExpressionParser] Test GetClangResourceDir 2019-03-06 00:45:16 +00:00
Host Move ProcessInfo from Host to Utility. 2019-03-04 21:51:03 +00:00
Interpreter Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Language [Reproducers] Make clang use lldb's VFS. 2019-02-18 20:31:18 +00:00
ObjectFile BreakpadRecords: Add parsing code for FILE and LINE records 2019-01-29 15:39:27 +00:00
Platform Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Process Avoid two-stage initialization of MinidumpParser 2019-02-22 13:36:01 +00:00
ScriptInterpreter Add PythonBoolean type to the PythonDataObjects 2019-02-16 18:39:14 +00:00
Signals Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Symbol Resubmit "Don't include UnixSignals.h from Host." 2019-03-06 18:20:23 +00:00
SymbolFile [NFC] Fix license headers after r352845 2019-02-08 08:48:15 +00:00
Target Refactor user/group name resolving code 2019-03-04 18:48:00 +00:00
TestingSupport Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
UnwindAssembly Use std::make_shared in LLDB (NFC) 2019-02-11 23:13:08 +00:00
Utility Move RangeMap.h into Utility 2019-03-06 14:41:43 +00:00
debugserver Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
tools [lldb-mi] Check raw pointers before passing them to std::string ctor/assignment 2019-02-25 16:40:11 +00:00
CMakeLists.txt [CMake] Only test debugserver if platform can use debugserver 2019-01-18 00:05:25 +00:00
gtest_common.h Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00