aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorYuka Takahashi <yukatkh@gmail.com>2017-06-14 08:01:26 +0000
committerYuka Takahashi <yukatkh@gmail.com>2017-06-14 08:01:26 +0000
commit1f1378dcbcba1633bc1e250c1eafdeb5fdbc9f11 (patch)
treebc0397203b6d412c3a5f621eca170a0fa4c48995 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent26d98348dcc0a0b8b1f8db9b53d552e5a613bdf3 (diff)
downloadllvm-1f1378dcbcba1633bc1e250c1eafdeb5fdbc9f11.zip
llvm-1f1378dcbcba1633bc1e250c1eafdeb5fdbc9f11.tar.gz
llvm-1f1378dcbcba1633bc1e250c1eafdeb5fdbc9f11.tar.bz2
Use getLastArgValue instead of getString
Summary: I found that getString defined in the LLD's Driver.cpp is exactly the same as Arg::getLastArgValue defined in llvm/Option/ArgLIst.h. This patch removes that local function and use the function that the Arg class provides. Reviewers: ruiu Subscribers: emaste, llvm-commits Differential Revision: https://reviews.llvm.org/D34196 llvm-svn: 305374
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions