Run clang-format on these header files. Part of a WIP.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190250 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Bill Wendling 2013-09-07 11:55:36 +00:00
parent 0917ca56dc
commit baaefaf828
2 changed files with 653 additions and 668 deletions

View File

@ -32,6 +32,7 @@ class raw_ostream;
class MCAsmBackend { class MCAsmBackend {
MCAsmBackend(const MCAsmBackend &) LLVM_DELETED_FUNCTION; MCAsmBackend(const MCAsmBackend &) LLVM_DELETED_FUNCTION;
void operator=(const MCAsmBackend &) LLVM_DELETED_FUNCTION; void operator=(const MCAsmBackend &) LLVM_DELETED_FUNCTION;
protected: // Can only create subclasses. protected: // Can only create subclasses.
MCAsmBackend(); MCAsmBackend();
@ -42,7 +43,7 @@ public:
virtual ~MCAsmBackend(); virtual ~MCAsmBackend();
/// lifetime management /// lifetime management
virtual void reset() { } virtual void reset() {}
/// createObjectWriter - Create a new MCObjectWriter instance for use by the /// createObjectWriter - Create a new MCObjectWriter instance for use by the
/// assembler backend to emit the final object file. /// assembler backend to emit the final object file.
@ -50,7 +51,7 @@ public:
/// createELFObjectTargetWriter - Create a new ELFObjectTargetWriter to enable /// createELFObjectTargetWriter - Create a new ELFObjectTargetWriter to enable
/// non-standard ELFObjectWriters. /// non-standard ELFObjectWriters.
virtual MCELFObjectTargetWriter *createELFObjectTargetWriter() const { virtual MCELFObjectTargetWriter *createELFObjectTargetWriter() const {
llvm_unreachable("createELFObjectTargetWriter is not supported by asm " llvm_unreachable("createELFObjectTargetWriter is not supported by asm "
"backend"); "backend");
} }
@ -71,9 +72,7 @@ public:
/// hasDataInCodeSupport - Check whether this target implements data-in-code /// hasDataInCodeSupport - Check whether this target implements data-in-code
/// markers. If not, data region directives will be ignored. /// markers. If not, data region directives will be ignored.
bool hasDataInCodeSupport() const { bool hasDataInCodeSupport() const { return HasDataInCodeSupport; }
return HasDataInCodeSupport;
}
/// doesSectionRequireSymbols - Check whether the given section requires that /// doesSectionRequireSymbols - Check whether the given section requires that
/// all symbols (even temporaries) have symbol table entries. /// all symbols (even temporaries) have symbol table entries.
@ -128,8 +127,7 @@ public:
/// fixupNeedsRelaxation - Target specific predicate for whether a given /// fixupNeedsRelaxation - Target specific predicate for whether a given
/// fixup requires the associated instruction to be relaxed. /// fixup requires the associated instruction to be relaxed.
virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, virtual bool fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value,
uint64_t Value,
const MCRelaxableFragment *DF, const MCRelaxableFragment *DF,
const MCAsmLayout &Layout) const = 0; const MCAsmLayout &Layout) const = 0;

File diff suppressed because it is too large Load Diff