[PATCH] D23829: [ELF] - Use std::regex instead of hand written logic in elf::globMatch()

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 31 10:59:06 PDT 2016


ruiu added a comment.

How about defining a copy constructor to llvm::Regex and create mutable copies from const Regexs? Regex seems to be just two-pointer-sized object so copying it should be cheap.


https://reviews.llvm.org/D23829





More information about the llvm-commits mailing list