llvm-project/lldb/unittests/Core
Zachary Turner f6607454d4 Convert ArchSpec::ParseMachOCPUDashSubtypeTriple to use StringRef.
This makes the code easier to grok, and since this is a very low
level function it also is very helpful to have this take a StringRef
since it means anyone higher up the chain who has a StringRef would
have to first convert it to a null-terminated string.  This way it
can work equally well with StringRefs or const char*'s, which will
enable the conversion of higher up functions to StringRef.

Tested on Windows, Linux, and OSX and saw no regressions.

llvm-svn: 281642
2016-09-15 18:41:48 +00:00
..
ArchSpecTest.cpp Convert ArchSpec::ParseMachOCPUDashSubtypeTriple to use StringRef. 2016-09-15 18:41:48 +00:00
BroadcasterTest.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Add some unit tests for ArchSpec. 2016-09-13 20:40:26 +00:00
DataExtractorTest.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
ScalarTest.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00