summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/System/MappedFile.h5
-rw-r--r--llvm/lib/System/MappedFile.cpp1
2 files changed, 1 insertions, 5 deletions
diff --git a/llvm/include/llvm/System/MappedFile.h b/llvm/include/llvm/System/MappedFile.h
index d74bf5c2bea..af13cbb5afe 100644
--- a/llvm/include/llvm/System/MappedFile.h
+++ b/llvm/include/llvm/System/MappedFile.h
@@ -15,7 +15,6 @@
#define LLVM_SYSTEM_MAPPEDFILE_H
#include "llvm/System/Path.h"
-#include "llvm/System/IncludeFile.h"
namespace llvm {
namespace sys {
@@ -162,7 +161,7 @@ namespace sys {
/// @{
private:
///< Disallow assignment
- MappedFile& operator = ( const MappedFile & that );
+ MappedFile& operator=(const MappedFile &that);
///< Disallow copying
MappedFile(const MappedFile& that);
/// @}
@@ -170,6 +169,4 @@ namespace sys {
}
}
-FORCE_DEFINING_FILE_TO_BE_LINKED(SystemMappedFile)
-
#endif
diff --git a/llvm/lib/System/MappedFile.cpp b/llvm/lib/System/MappedFile.cpp
index fb719f66e20..d2bc40355ee 100644
--- a/llvm/lib/System/MappedFile.cpp
+++ b/llvm/lib/System/MappedFile.cpp
@@ -32,4 +32,3 @@ using namespace sys;
#include "Win32/MappedFile.inc"
#endif
-DEFINING_FILE_FOR(SystemMappedFile)
OpenPOWER on IntegriCloud