diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:27:28 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-01 09:27:28 +0000 |
commit | e56ffb951f76424cd6e9cc795bfc3b2e8033798f (patch) | |
tree | d08d80033c32a4c67d474d3c8de14d889f1fbce5 /lib/Support/Unix/Path.inc | |
parent | ef6cf471125156a14a7f58f85fe487e59b0d130b (diff) | |
download | llvm-e56ffb951f76424cd6e9cc795bfc3b2e8033798f.tar.gz llvm-e56ffb951f76424cd6e9cc795bfc3b2e8033798f.tar.bz2 llvm-e56ffb951f76424cd6e9cc795bfc3b2e8033798f.tar.xz |
[C++11] Remove the R-value reference #if usage from the ADT and Support
libraries. It is now always 1 in LLVM builds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202580 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/Unix/Path.inc')
-rw-r--r-- | lib/Support/Unix/Path.inc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Support/Unix/Path.inc b/lib/Support/Unix/Path.inc index 2249b64b45..caa30c7533 100644 --- a/lib/Support/Unix/Path.inc +++ b/lib/Support/Unix/Path.inc @@ -538,12 +538,10 @@ mapped_file_region::~mapped_file_region() { ::munmap(Mapping, Size); } -#if LLVM_HAS_RVALUE_REFERENCES mapped_file_region::mapped_file_region(mapped_file_region &&other) : Mode(other.Mode), Size(other.Size), Mapping(other.Mapping) { other.Mapping = 0; } -#endif mapped_file_region::mapmode mapped_file_region::flags() const { assert(Mapping && "Mapping failed but used anyway!"); |