[lldb][NFC] Simplify Args::ReplaceArgumentAtIndex
authorRaphael Isemann <teemperor@gmail.com>
Fri, 13 Sep 2019 10:41:29 +0000 (10:41 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Fri, 13 Sep 2019 10:41:29 +0000 (10:41 +0000)
commit1f644bb163332aee3113da38d4e1621069604acf
treedf730b12b13c7c6d734580ab9edbb2b32a6a1dac
parent950b70dcc7e3e06f7ffbb0386f82d5085cd709a9
[lldb][NFC] Simplify Args::ReplaceArgumentAtIndex

This code is not on any performance critical path that would
justify this shortening optimization. It also makes it possible
to turn 'ref' into a function (as this is the only place where
we modify this ArgEntry member).

llvm-svn: 371836
lldb/source/Utility/Args.cpp