[lld] r189713 - Remove #include, for we don't need the definitions of these classes.

Rui Ueyama ruiu at google.com
Fri Aug 30 18:28:46 PDT 2013


Author: ruiu
Date: Fri Aug 30 20:28:45 2013
New Revision: 189713

URL: http://llvm.org/viewvc/llvm-project?rev=189713&view=rev
Log:
Remove #include, for we don't need the definitions of these classes.

Modified:
    lld/trunk/include/lld/Core/InputFiles.h

Modified: lld/trunk/include/lld/Core/InputFiles.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/Core/InputFiles.h?rev=189713&r1=189712&r2=189713&view=diff
==============================================================================
--- lld/trunk/include/lld/Core/InputFiles.h (original)
+++ lld/trunk/include/lld/Core/InputFiles.h Fri Aug 30 20:28:45 2013
@@ -10,12 +10,17 @@
 #ifndef LLD_CORE_INPUT_FILES_H_
 #define LLD_CORE_INPUT_FILES_H_
 
-#include "lld/Core/File.h"
+#include "llvm/ADT/StringRef.h"
 
 #include <memory>
 #include <vector>
 
 namespace lld {
+class AbsoluteAtom;
+class DefinedAtom;
+class SharedLibraryAtom;
+class UndefinedAtom;
+class File;
 
 /// This InputFiles class manages access to all input files to the linker.
 ///
@@ -54,11 +59,11 @@ public:
   virtual void forEachInitialAtom(Handler &) const;
 
   /// @brief searches libraries for name
-  virtual bool searchLibraries(  StringRef name
-                               , bool searchSharedLibs
-                               , bool searchArchives
-                               , bool dataSymbolOnly
-                               , Handler &) const;
+  virtual bool searchLibraries(llvm::StringRef name,
+                               bool searchSharedLibs
+                               bool searchArchives
+                               bool dataSymbolOnly
+                               Handler &) const;
 
 protected:
   void handleFile(const File *file, InputFiles::Handler &handler) const;





More information about the llvm-commits mailing list