diff --git a/clang/lib/AST/Interp/ByteCodeExprGen.cpp b/clang/lib/AST/Interp/ByteCodeExprGen.cpp index d6be9a306aeaf..8863c5f89027e 100644 --- a/clang/lib/AST/Interp/ByteCodeExprGen.cpp +++ b/clang/lib/AST/Interp/ByteCodeExprGen.cpp @@ -2951,7 +2951,6 @@ bool ByteCodeExprGen::emitPrimCast(PrimType FromT, PrimType ToT, /// When calling this, we have a pointer of the local-to-destroy /// on the stack. /// Emit destruction of record types (or arrays of record types). -/// FIXME: Handle virtual destructors. template bool ByteCodeExprGen::emitRecordDestruction(const Descriptor *Desc) { assert(Desc); diff --git a/clang/test/AST/Interp/records.cpp b/clang/test/AST/Interp/records.cpp index 280eaf34898ce..a1ced049dcedb 100644 --- a/clang/test/AST/Interp/records.cpp +++ b/clang/test/AST/Interp/records.cpp @@ -734,8 +734,6 @@ namespace VirtualDtors { } static_assert(foo()); - - }; namespace QualifiedCalls {