summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Regex.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2017-04-18 01:04:05 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2017-04-18 01:04:05 +0000
commitb71bc44bf4323a04217e11ba8ebf7486e10f2dd9 (patch)
tree5ce98ebacfde7f3269e841022116536d5d8c00c0 /llvm/lib/Support/Regex.cpp
parent5cfe9294fe9b605e3e3702d12b7714171bfb696b (diff)
downloadbcm5719-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.cpp2
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;
OpenPOWER on IntegriCloud