Removed unnecessary "class" keyword.

llvm-svn: 184585
This commit is contained in:
Rui Ueyama 2013-06-21 19:30:16 +00:00
parent bd0f107929
commit bf402d6643
4 changed files with 8 additions and 7 deletions

View File

@ -53,7 +53,7 @@ public:
/// file - returns the File that produced/owns this Atom
virtual const class File& file() const = 0;
virtual const File& file() const = 0;
/// name - The name of the atom. For a function atom, it is the (mangled)
/// name of the function.

View File

@ -14,6 +14,7 @@
#include "llvm/ADT/StringSwitch.h"
namespace lld {
class Atom;
///
/// The linker has a Graph Theory model of linking. An object file is seen
@ -81,11 +82,11 @@ public:
/// If the reference is an edge to another Atom, then this returns the
/// other Atom. Otherwise, it returns nullptr.
virtual const class Atom * target() const = 0;
virtual const Atom *target() const = 0;
/// During linking, the linker may merge graphs which coalesces some nodes
/// (i.e. Atoms). To switch the target of a reference, this method is called.
virtual void setTarget(const class Atom *) = 0;
virtual void setTarget(const Atom *) = 0;
/// Some relocations require a symbol and a value (e.g. foo + 4).
virtual Addend addend() const = 0;

View File

@ -176,7 +176,7 @@ public:
}
/// file - returns the File that produced/owns this Atom
virtual const class File &file() const { return _file; }
virtual const File &file() const { return _file; }
/// name - The name of the atom. For a function atom, it is the (mangled)
/// name of the function.

View File

@ -60,7 +60,7 @@ public:
COFFAbsoluteAtom(const File &f, llvm::StringRef n, const coff_symbol *s)
: _owningFile(f), _name(n), _symbol(s) {}
virtual const class File &file() const { return _owningFile; }
virtual const File &file() const { return _owningFile; }
virtual Scope scope() const {
if (_symbol->StorageClass == llvm::COFF::IMAGE_SYM_CLASS_STATIC)
@ -83,7 +83,7 @@ public:
COFFUndefinedAtom(const File &f, llvm::StringRef n)
: _owningFile(f), _name(n) {}
virtual const class File &file() const { return _owningFile; }
virtual const File &file() const { return _owningFile; }
virtual llvm::StringRef name() const { return _name; }
@ -102,7 +102,7 @@ public:
: _owningFile(f), _name(n), _symbol(symb), _section(sec), _data(d),
_sectionName(sectionName), _ordinal(ordinal) {}
virtual const class File &file() const { return _owningFile; }
virtual const File &file() const { return _owningFile; }
virtual llvm::StringRef name() const { return _name; }