aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/ObjectFile.cpp
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2016-09-27 16:37:30 +0000
committerZachary Turner <zturner@google.com>2016-09-27 16:37:30 +0000
commit0e31a38418002e55e03fbbe26ce844b1f61cfb23 (patch)
tree288e8d9e57d381db32e476c88d3a74a3bbc83de4 /llvm/lib/Object/ObjectFile.cpp
parent1280004d5e125e8fa59af0103fdd0df9630378cc (diff)
downloadllvm-0e31a38418002e55e03fbbe26ce844b1f61cfb23.zip
llvm-0e31a38418002e55e03fbbe26ce844b1f61cfb23.tar.gz
llvm-0e31a38418002e55e03fbbe26ce844b1f61cfb23.tar.bz2
Add llvm::join_items to StringExtras.
llvm::join_items is similar to llvm::join, which produces a string by concatenating a sequence of values together separated by a given separator. But it differs in that the arguments to llvm::join() are same-type members of a container, whereas the arguments to llvm::join_items are arbitrary types passed into a variadic template. The only requirement on parameters to llvm::join_items (including for the separator themselves) is that they be implicitly convertible to std::string or have an overload of std::string::operator+ Differential Revision: https://reviews.llvm.org/D24880 llvm-svn: 282502
Diffstat (limited to 'llvm/lib/Object/ObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions