forked from OSchip/llvm-project
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:
parent
aee2632be3
commit
9e814c0d80
|
@ -84,6 +84,8 @@ public:
|
|||
Diagnostic &Diags)
|
||||
: Context(Context), Diags(Diags) { }
|
||||
|
||||
virtual ~MangleContext() { }
|
||||
|
||||
ASTContext &getASTContext() const { return Context; }
|
||||
|
||||
Diagnostic &getDiags() const { return Diags; }
|
||||
|
|
Loading…
Reference in New Issue