diff options
author | Chris Lattner <sabre@nondot.org> | 2009-09-24 20:15:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-09-24 20:15:51 +0000 |
commit | 81f61b9291284bd0dc93d9dc333c1962a4399719 (patch) | |
tree | 8eb6d7253743c2aa98f16ed1e1f3653725b5fe1a /include/llvm | |
parent | 9fcf4a9c8f35d53460b62db4a13fa14c7e1d1676 (diff) | |
download | external_llvm-81f61b9291284bd0dc93d9dc333c1962a4399719.zip external_llvm-81f61b9291284bd0dc93d9dc333c1962a4399719.tar.gz external_llvm-81f61b9291284bd0dc93d9dc333c1962a4399719.tar.bz2 |
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
Diffstat (limited to 'include/llvm')
-rw-r--r-- | include/llvm/Support/Regex.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/llvm/Support/Regex.h b/include/llvm/Support/Regex.h index 31fd3cc..4c4229e 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<StringRef> *Matches=0); private: struct llvm_regex *preg; |