Pacify -Wnon-virtual-dtor.

llvm-svn: 166270
This commit is contained in:
Nick Lewycky 2012-10-19 07:00:09 +00:00
parent 83b25ee2df
commit c111dcf2c1
2 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class Twine;
/// MCAsmParserSemaCallback - Generic Sema callback for assembly parser.
class MCAsmParserSemaCallback {
public:
virtual ~MCAsmParserSemaCallback();
virtual void *LookupInlineAsmIdentifier(StringRef Name, void *Loc,
unsigned &Size) = 0;
};

View File

@ -46,6 +46,8 @@ static cl::opt<bool>
FatalAssemblerWarnings("fatal-assembler-warnings",
cl::desc("Consider warnings as error"));
MCAsmParserSemaCallback::~MCAsmParserSemaCallback() {}
namespace {
/// \brief Helper class for tracking macro definitions.