forked from OSchip/llvm-project
parent
76803bd384
commit
930bc70b75
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue