[LLVM/Support] - Create no-arguments constructor for llvm::Regex
authorGeorge Rimar <grimar@accesssoftek.com>
Thu, 1 Sep 2016 08:00:28 +0000 (08:00 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Thu, 1 Sep 2016 08:00:28 +0000 (08:00 +0000)
commita9ff072fe810e1f4bbd1ef21eb2535ee8cfe6304
tree3fb38603e4ef37f1d6b5e9e2269d856d4855fc25
parente656642295cb7730e9b7d511ffc0b2402add3df7
[LLVM/Support] - Create no-arguments constructor for llvm::Regex

This is useful when need to defer the construction,
e.g. using Regex as a member of class.

Differential revision: https://reviews.llvm.org/D24101

llvm-svn: 280339
llvm/lib/Support/Regex.cpp
llvm/unittests/Support/RegexTest.cpp