From 48ba9ff3c44f33c65c26ecf5df306f4a428d2c26 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 Sep 2009 20:15:51 +0000 Subject: tidy up, fix a memory leak in Regex::isValid git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82707 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/Regex.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/llvm/Support/Regex.h') diff --git a/include/llvm/Support/Regex.h b/include/llvm/Support/Regex.h index 31fd3ccefb..4c4229eb57 100644 --- a/include/llvm/Support/Regex.h +++ b/include/llvm/Support/Regex.h @@ -54,7 +54,6 @@ namespace llvm { /// Matches. /// For this feature to be enabled you must construct the regex using /// Regex("...", Regex::Sub) constructor. - bool match(const StringRef &String, SmallVectorImpl *Matches=0); private: struct llvm_regex *preg; -- cgit v1.2.3