projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[Support] Extend sys::path with user_cache_directory function.
[oota-llvm.git]
/
include
/
llvm
/
Support
/
Regex.h
diff --git
a/include/llvm/Support/Regex.h
b/include/llvm/Support/Regex.h
index bf533ca1aa60ca14d02dabbe204dd12f9135dd63..31b35ed0cad61f86712bb30b1f0a60559d6c7ea6 100644
(file)
--- a/
include/llvm/Support/Regex.h
+++ b/
include/llvm/Support/Regex.h
@@
-17,7
+17,6
@@
#ifndef LLVM_SUPPORT_REGEX_H
#define LLVM_SUPPORT_REGEX_H
#ifndef LLVM_SUPPORT_REGEX_H
#define LLVM_SUPPORT_REGEX_H
-#include "llvm/Support/Compiler.h"
#include <string>
struct llvm_regex;
#include <string>
struct llvm_regex;
@@
-46,7
+45,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);