aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-04-01 00:35:55 +0000
committerChris Lattner <sabre@nondot.org>2008-04-01 00:35:55 +0000
commit328c84aa992138cda53d197f4d180ec5b40a5aa2 (patch)
tree850b07e7bb194e78ef23d14f8d686469e8ac9072
parent1544e4713be68edcf042de5aed7265dff7169d9d (diff)
remove DEFINING_FILE_FOR for MappedFile.h
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49008 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/System/MappedFile.h5
-rw-r--r--lib/System/MappedFile.cpp1
2 files changed, 1 insertions, 5 deletions
diff --git a/include/llvm/System/MappedFile.h b/include/llvm/System/MappedFile.h
index d74bf5c2be..af13cbb5af 100644
--- a/include/llvm/System/MappedFile.h
+++ b/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/lib/System/MappedFile.cpp b/lib/System/MappedFile.cpp
index fb719f66e2..d2bc40355e 100644
--- a/lib/System/MappedFile.cpp
+++ b/lib/System/MappedFile.cpp
@@ -32,4 +32,3 @@ using namespace sys;
#include "Win32/MappedFile.inc"
#endif
-DEFINING_FILE_FOR(SystemMappedFile)