OSDN Git Service

[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)
commitee728f88304756c286e5e425d06c82bbc4d16155
treec0dee35da1cbf681afd0cab31e2f3c25b9eb5ac7
parentf4e1029357c8ce4f80149fb324a7f85a9c9c924e
[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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@280339 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Regex.cpp
unittests/Support/RegexTest.cpp