diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2017-04-18 01:04:05 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2017-04-18 01:04:05 +0000 |
commit | b71bc44bf4323a04217e11ba8ebf7486e10f2dd9 (patch) | |
tree | 5ce98ebacfde7f3269e841022116536d5d8c00c0 /llvm/lib/Support/Regex.cpp | |
parent | 5cfe9294fe9b605e3e3702d12b7714171bfb696b (diff) | |
download | bcm5719-llvm-b71bc44bf4323a04217e11ba8ebf7486e10f2dd9.tar.gz bcm5719-llvm-b71bc44bf4323a04217e11ba8ebf7486e10f2dd9.zip |
Add const to a const method. NFC
llvm-svn: 300520
Diffstat (limited to 'llvm/lib/Support/Regex.cpp')
-rw-r--r-- | llvm/lib/Support/Regex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Regex.cpp b/llvm/lib/Support/Regex.cpp index 68ba79e1176..b1087fd8853 100644 --- a/llvm/lib/Support/Regex.cpp +++ b/llvm/lib/Support/Regex.cpp @@ -48,7 +48,7 @@ Regex::~Regex() { } } -bool Regex::isValid(std::string &Error) { +bool Regex::isValid(std::string &Error) const { if (!error) return true; |