mirror of
https://github.com/intel/llvm.git
synced 2026-01-27 06:06:34 +08:00
CGClass.cpp: Fix a warning in -Asserts. [-Wunused-private-field]
llvm-svn: 247778
This commit is contained in:
@@ -1789,6 +1789,7 @@ namespace {
|
||||
// Generate function call for handling vtable pointer poisoning.
|
||||
void Emit(CodeGenFunction &CGF, Flags flags) override {
|
||||
assert(Dtor->getParent()->isDynamicClass());
|
||||
(void)Dtor;
|
||||
ASTContext &Context = CGF.getContext();
|
||||
// Poison vtable and vtable ptr if they exist for this class.
|
||||
llvm::Value *VTablePtr = CGF.LoadCXXThis();
|
||||
|
||||
Reference in New Issue
Block a user