llvm.org GIT mirror llvm / 118f194
Properly test the LLVM_USE_RVALUE_REFERENCES macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@161978 91177308-0d34-0410-b5e6-96231b3b80d8 Michael J. Spencer 8 years ago
3 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
606606 public:
607607 typedef char char_type;
608608
609 #ifdef LLVM_USE_RVALUE_REFERENCES
609 #if LLVM_USE_RVALUE_REFERENCES
610610 mapped_file_region(mapped_file_region&&);
611611 mapped_file_region &operator =(mapped_file_region&&);
612612 #endif
544544 ::munmap(Mapping, Size);
545545 }
546546
547 #ifdef LLVM_USE_RVALUE_REFERENCES
547 #if LLVM_USE_RVALUE_REFERENCES
548548 mapped_file_region::mapped_file_region(mapped_file_region &&other)
549549 : Mode(other.Mode), Size(other.Size), Mapping(other.Mapping) {
550550 other.Mapping = 0;
860860 ::CloseHandle(FileHandle);
861861 }
862862
863 #ifdef LLVM_USE_RVALUE_REFERENCES
863 #if LLVM_USE_RVALUE_REFERENCES
864864 mapped_file_region::mapped_file_region(mapped_file_region &&other)
865865 : Mode(other.Mode)
866866 , Size(other.Size)