Replace uses of MIUtilParse::CRegexParser with llvm::Regex
authorPavel Labath <labath@google.com>
Mon, 5 Sep 2016 15:15:12 +0000 (15:15 +0000)
committerPavel Labath <labath@google.com>
Mon, 5 Sep 2016 15:15:12 +0000 (15:15 +0000)
commit305229bd72e61933d6287ed861eb22f22dbf35e3
treec694165853d37a7df76f43596a108c4837f57689
parent5f14ff75ec8035bc311a9df5d1445dd13709f4e9
Replace uses of MIUtilParse::CRegexParser with llvm::Regex

Summary:
Replace uses of the local MIUtilParse::CRegexParser class with the LLVM support class llvm::Regex. This reduces duplication of code, and makes it possible to remove the MIUtilParse::CRegexParser class that requires LLVM internal implementation headers.

Bug: https://llvm.org/bugs/show_bug.cgi?id=29138

Reviewers: dawn, abidh, ki.stfu

Subscribers: labath, ki.stfu, lldb-commits

Differential Revision: https://reviews.llvm.org/D23882
Author: Michał Górny <mgorny@gentoo.org>

llvm-svn: 280662
lldb/tools/lldb-mi/MICmdCmdData.cpp
lldb/tools/lldb-mi/MICmdCmdSymbol.cpp