diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2011-08-08 19:09:02 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2011-08-08 19:09:02 +0000 |
commit | 08de97a5b024c3dc7dd051ecaa63d7ec1a27a5cf (patch) | |
tree | 6f8ca6ebaac7667d73c109531870405f2556205f /include | |
parent | 41ab14b725c8f2bb3e54553d0d7d96ff184786b1 (diff) | |
download | external_llvm-08de97a5b024c3dc7dd051ecaa63d7ec1a27a5cf.zip external_llvm-08de97a5b024c3dc7dd051ecaa63d7ec1a27a5cf.tar.gz external_llvm-08de97a5b024c3dc7dd051ecaa63d7ec1a27a5cf.tar.bz2 |
Pacify virtual dtor warnings and cmake buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137060 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCInstrAnalysis.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/MC/MCInstrAnalysis.h b/include/llvm/MC/MCInstrAnalysis.h index adca7b1..36584ef 100644 --- a/include/llvm/MC/MCInstrAnalysis.h +++ b/include/llvm/MC/MCInstrAnalysis.h @@ -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(); } |