Silence GCC warning about an accessible non-virtual destructor in a class with

virtual methods.

Please review cdavis, should these methods even be virtual?

llvm-svn: 105218
This commit is contained in:
Chandler Carruth 2010-05-31 08:27:42 +00:00
parent aee2632be3
commit 9e814c0d80
1 changed files with 2 additions and 0 deletions

View File

@ -84,6 +84,8 @@ public:
Diagnostic &Diags)
: Context(Context), Diags(Diags) { }
virtual ~MangleContext() { }
ASTContext &getASTContext() const { return Context; }
Diagnostic &getDiags() const { return Diags; }