Pacify virtual dtor warnings and cmake buildbots.

llvm-svn: 137060
This commit is contained in:
Benjamin Kramer 2011-08-08 19:09:02 +00:00
parent c22d50e5c3
commit 1afd89ae36
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