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 | 48ba9ff3c44f33c65c26ecf5df306f4a428d2c26 (patch) | |
tree | 8eb6d7253743c2aa98f16ed1e1f3653725b5fe1a /include/llvm/Support/Regex.h | |
parent | 07de8d1acf10117cac2cc53f1cb0ae888be6a5bc (diff) | |
download | external_llvm-48ba9ff3c44f33c65c26ecf5df306f4a428d2c26.tar.gz external_llvm-48ba9ff3c44f33c65c26ecf5df306f4a428d2c26.tar.bz2 external_llvm-48ba9ff3c44f33c65c26ecf5df306f4a428d2c26.zip |
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/Support/Regex.h')
-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 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<StringRef> *Matches=0); private: struct llvm_regex *preg; |