Remove dead code.

llvm-svn: 217324
This commit is contained in:
Rui Ueyama 2014-09-07 01:23:16 +00:00
parent 76803bd384
commit 930bc70b75
2 changed files with 1 additions and 13 deletions

View File

@ -39,7 +39,7 @@ class LinkingContext;
/// are destroyed when the File object is destroyed.
class File {
public:
virtual ~File();
virtual ~File() {}
/// \brief Kinds of files that are supported.
enum Kind {
@ -59,12 +59,6 @@ public:
return _path;
}
/// \brief Returns the path of the source file used to create the object
/// file which this (File) object represents. This information is usually
/// parsed out of the DWARF debug information. If the source file cannot
/// be ascertained, this method returns the empty string.
virtual StringRef translationUnitSource() const;
/// Returns the command line order of the file.
uint64_t ordinal() const {
assert(_ordinal != UINT64_MAX);

View File

@ -12,12 +12,6 @@
namespace lld {
File::~File() {}
StringRef File::translationUnitSource() const {
return StringRef();
}
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibraryAtoms;