diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-18 05:37:28 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-18 05:37:28 +0000 |
commit | 1ec5bd31fe491e610839ea448bd99fd171785837 (patch) | |
tree | 7d7198b7dd08a147c37708b965589230ad88fd72 /include/llvm/MC/MCObjectFormat.h | |
parent | 54f08852f6c45a1165295d66bd072e2d1da7a6d1 (diff) | |
download | external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.tar.gz external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.tar.bz2 external_llvm-1ec5bd31fe491e610839ea448bd99fd171785837.zip |
Remove the MCObjectFormat class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122147 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/MC/MCObjectFormat.h')
-rw-r--r-- | include/llvm/MC/MCObjectFormat.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/include/llvm/MC/MCObjectFormat.h b/include/llvm/MC/MCObjectFormat.h deleted file mode 100644 index 5c3f003696..0000000000 --- a/include/llvm/MC/MCObjectFormat.h +++ /dev/null @@ -1,54 +0,0 @@ -//===-- llvm/MC/MCObjectFormat.h - Object Format Info -----------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_MC_MCOBJECTFORMAT_H -#define LLVM_MC_MCOBJECTFORMAT_H - -namespace llvm { -class MCSymbol; - -class MCObjectFormat { -public: - virtual ~MCObjectFormat(); - - /// isAbsolute - Check if A - B is an absolute value - /// - /// \param InSet - True if this expression is in a set. For example: - /// a: - /// ... - /// b: - /// tmp = a - b - /// .long tmp - /// \param A - LHS - /// \param B - RHS - virtual bool isAbsolute(bool InSet, const MCSymbol &A, - const MCSymbol &B) const = 0; -}; - -class MCELFObjectFormat : public MCObjectFormat { -public: - virtual bool isAbsolute(bool InSet, const MCSymbol &A, - const MCSymbol &B) const; -}; - -class MCMachOObjectFormat : public MCObjectFormat { -public: - virtual bool isAbsolute(bool InSet, const MCSymbol &A, - const MCSymbol &B) const; -}; - -class MCCOFFObjectFormat : public MCObjectFormat { -public: - virtual bool isAbsolute(bool InSet, const MCSymbol &A, - const MCSymbol &B) const; -}; - -} // End llvm namespace - -#endif |