projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Removing LLVM_DELETED_FUNCTION, as MSVC 2012 was the last reason for requiring the...
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Regex.h
diff --git
a/include/llvm/Support/Regex.h
b/include/llvm/Support/Regex.h
index bf533ca1aa60ca14d02dabbe204dd12f9135dd63..5e5a5a335f9a9fbb2aab42d24938bc3bfb2800c6 100644
(file)
--- a/
include/llvm/Support/Regex.h
+++ b/
include/llvm/Support/Regex.h
@@
-46,7
+46,7
@@
namespace llvm {
/// Compiles the given regular expression \p Regex.
Regex(StringRef Regex, unsigned Flags = NoFlags);
/// Compiles the given regular expression \p Regex.
Regex(StringRef Regex, unsigned Flags = NoFlags);
- Regex(const Regex &)
LLVM_DELETED_FUNCTION
;
+ Regex(const Regex &)
= delete
;
Regex &operator=(Regex regex) {
std::swap(preg, regex.preg);
std::swap(error, regex.error);
Regex &operator=(Regex regex) {
std::swap(preg, regex.preg);
std::swap(error, regex.error);