Skip to content

Commit 7f95114

Browse files
committed
Revert "[CIR] Add support for delegating ctor with VTT (#1890)"
This reverts commit a896c41. Test is failing on Linux (reproduced locally)
1 parent 2ea4005 commit 7f95114

File tree

2 files changed

+39
-280
lines changed

2 files changed

+39
-280
lines changed

clang/lib/CIR/CodeGen/CIRGenClass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1536,8 +1536,7 @@ mlir::Value CIRGenFunction::GetVTTParameter(GlobalDecl GD, bool ForVirtualBase,
15361536
uint64_t SubVTTIndex;
15371537

15381538
if (Delegating) {
1539-
// If this is a delegating constructor call, just load the VTT.
1540-
return LoadCXXVTT();
1539+
llvm_unreachable("NYI");
15411540
} else if (RD == Base) {
15421541
// If the record matches the base, this is the complete ctor/dtor
15431542
// variant calling the base variant in a class with virtual bases.

0 commit comments

Comments
 (0)