[PATCH] D26241: [ELF] Speed-up lld up to 5 times by replacing llvm:regex with simple string matcher.

Anton Bikineev via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 2 09:43:13 PDT 2016


AntonBikineev added inline comments.


================
Comment at: ELF/Strings.h:34
+  StringMatcher(std::vector<StringRef> &&Pat)
+      : Patterns(std::forward<std::vector<StringRef>>(Pat)) {}
+
----------------
Pat is not a forwarding reference in this context, so just move can be used here


Repository:
  rL LLVM

https://reviews.llvm.org/D26241





More information about the llvm-commits mailing list