summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support/Unix/PathV2.inc
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-11-30 11:45:22 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-11-30 11:45:22 +0000
commitf12e3a67dbf01a6044c5749fde9d42c527bef7d3 (patch)
treebd684ea627c71afc11b8f7c1d151882082e5fd25 /llvm/lib/Support/Unix/PathV2.inc
parent817b60af38a48f9f838edcecca5f8a2172dfb287 (diff)
downloadbcm5719-llvm-f12e3a67dbf01a6044c5749fde9d42c527bef7d3.tar.gz
bcm5719-llvm-f12e3a67dbf01a6044c5749fde9d42c527bef7d3.zip
Switch LLVM_USE_RVALUE_REFERENCES to LLVM_HAS_RVALUE_REFERENCES.
Rationale: 1) This was the name in the comment block. ;] 2) It matches Clang's __has_feature naming convention. 3) It matches other compiler-feature-test conventions. Sorry for the noise. =] I've also switch the comment block to use a \brief tag and not duplicate the name. llvm-svn: 168996
Diffstat (limited to 'llvm/lib/Support/Unix/PathV2.inc')
-rw-r--r--llvm/lib/Support/Unix/PathV2.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Support/Unix/PathV2.inc b/llvm/lib/Support/Unix/PathV2.inc
index 05fd924960e..453267046a3 100644
--- a/llvm/lib/Support/Unix/PathV2.inc
+++ b/llvm/lib/Support/Unix/PathV2.inc
@@ -546,7 +546,7 @@ mapped_file_region::~mapped_file_region() {
::munmap(Mapping, Size);
}
-#if LLVM_USE_RVALUE_REFERENCES
+#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;
OpenPOWER on IntegriCloud