From b71bc44bf4323a04217e11ba8ebf7486e10f2dd9 Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Tue, 18 Apr 2017 01:04:05 +0000 Subject: Add const to a const method. NFC llvm-svn: 300520 --- llvm/lib/Support/Regex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/Support/Regex.cpp') 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; -- cgit v1.2.3