OSDN Git Service

Remove the use of "IncludeFile" from this support facility. The mechanism
authorReid Spencer <rspencer@reidspencer.com>
Mon, 7 Aug 2006 23:20:15 +0000 (23:20 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Mon, 7 Aug 2006 23:20:15 +0000 (23:20 +0000)
to build a loadable module is now correctly defined and documented so this
workaround isn't needed any longer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29553 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/SlowOperationInformer.h
lib/Support/SlowOperationInformer.cpp

index 0be0196..d057926 100644 (file)
@@ -32,7 +32,6 @@
 #include <string>
 #include <cassert>
 #include "llvm/Support/DataTypes.h"
-#include "llvm/System/IncludeFile.h"
 
 namespace llvm {
   class SlowOperationInformer {
@@ -64,5 +63,3 @@ namespace llvm {
 } // end namespace llvm
 
 #endif /* SLOW_OPERATION_INFORMER_H */
-
-FORCE_DEFINING_FILE_TO_BE_LINKED(SupportSlowOperationInformer)
index c5f2718..bfdfe88 100644 (file)
@@ -12,7 +12,6 @@
 //===----------------------------------------------------------------------===//
 
 #include "llvm/Support/SlowOperationInformer.h"
-#include "llvm/System/IncludeFile.h"
 #include "llvm/System/Alarm.h"
 #include <iostream>
 #include <sstream>
@@ -65,5 +64,3 @@ bool SlowOperationInformer::progress(unsigned Amount) {
   std::cout << ToPrint+OS.str() << std::flush;
   return false;
 }
-
-DEFINING_FILE_FOR(SupportSlowOperationInformer)