diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-11-30 11:45:22 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-11-30 11:45:22 +0000 |
commit | f12e3a67dbf01a6044c5749fde9d42c527bef7d3 (patch) | |
tree | bd684ea627c71afc11b8f7c1d151882082e5fd25 /llvm/unittests/Support | |
parent | 817b60af38a48f9f838edcecca5f8a2172dfb287 (diff) | |
download | bcm5719-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/unittests/Support')
-rw-r--r-- | llvm/unittests/Support/Path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp index 63c9ae05915..38bad8fb590 100644 --- a/llvm/unittests/Support/Path.cpp +++ b/llvm/unittests/Support/Path.cpp @@ -375,7 +375,7 @@ TEST_F(FileSystemTest, FileMapping) { // Unmap temp file -#if LLVM_USE_RVALUE_REFERENCES +#if LLVM_HAS_RVALUE_REFERENCES fs::mapped_file_region m(Twine(TempPath), fs::mapped_file_region::readonly, 0, |