[PATCH] D46177: [llvm-objcopy] Add --globalize-symbol option
Alexander Shaposhnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 27 09:20:27 PDT 2018
alexshap requested changes to this revision.
alexshap added inline comments.
This revision now requires changes to proceed.
================
Comment at: tools/llvm-objcopy/llvm-objcopy.cpp:139
+ -> decltype(std::end(Container), true) {
+ return std::end(Container) !=
+ std::find(std::begin(Container), std::end(Container), X);
----------------
well, actually, even better - let's delete this and make use of
./STLExtras.h:967 bool is_contained(R &&Range, const E &Element)
Repository:
rL LLVM
https://reviews.llvm.org/D46177
More information about the llvm-commits
mailing list