Pacify virtual dtor warnings and cmake buildbots.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137060 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2011-08-08 19:09:02 +00:00
parent 41ab14b725
commit 08de97a5b0
2 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,8 @@ protected:
MCInstrAnalysis(const MCInstrInfo *Info) : Info(Info) {}
public:
virtual ~MCInstrAnalysis() {}
virtual bool isBranch(const MCInst &Inst) const {
return Info->get(Inst.getOpcode()).isBranch();
}

View File

@ -15,6 +15,7 @@ add_llvm_library(LLVMMC
MCExpr.cpp
MCInst.cpp
MCInstPrinter.cpp
MCInstrAnalysis.cpp
MCLabel.cpp
MCDwarf.cpp
MCLoggingStreamer.cpp