Convert 3 more functions to use a StringRef.
authorZachary Turner <zturner@google.com>
Mon, 19 Sep 2016 21:56:59 +0000 (21:56 +0000)
committerZachary Turner <zturner@google.com>
Mon, 19 Sep 2016 21:56:59 +0000 (21:56 +0000)
commit5c725f3a06b7f4236b3d98c14f1109a5852ed6ef
treed0c26cc2e45dbc6b5afc7d364ce058927ce61e3f
parentbf9a7c43b0c74a161c0a73164e59cc4785bb3085
Convert 3 more functions to use a StringRef.

This converts Args::Unshift, Args::AddOrReplaceEnvironmentVariable,
and Args::ContainsEnvironmentVariable to use StringRefs.  The code
is also simplified somewhat as a result.

llvm-svn: 281942
lldb/include/lldb/Interpreter/Args.h
lldb/source/Interpreter/Args.cpp
lldb/source/Interpreter/CommandAlias.cpp
lldb/source/Interpreter/CommandInterpreter.cpp
lldb/source/Interpreter/CommandObject.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp