Skip to content

Commit 5e8de9b

Browse files
committed
refactor
1 parent 470b556 commit 5e8de9b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

clang/lib/CIR/Dialect/IR/CIRDialect.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ REGISTER_ENUM_TYPE(GlobalLinkageKind);
172172
REGISTER_ENUM_TYPE(VisibilityKind);
173173
REGISTER_ENUM_TYPE(CallingConv);
174174
REGISTER_ENUM_TYPE(SideEffect);
175-
REGISTER_ENUM_TYPE(CtorKind);
176175
} // namespace
177176

178177
/// Parse an enum from the keyword, or default to the provided default value.

clang/test/CIR/CodeGen/virtual-destructor-calls.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ struct B : A {
3737
// LLVM: call void @_ZN1AD2Ev
3838

3939
// Complete dtor: just an alias because there are no virtual bases.
40-
// CIR: cir.func private dso_local @_ZN1BD1Ev(!cir.ptr<!rec_B>) alias(@_ZN1BD2Ev)
40+
// CIR: cir.func private dso_local @_ZN1BD1Ev(!cir.ptr<!rec_B>) special_member<#cir.cxx_dtor<!rec_B>> alias(@_ZN1BD2Ev)
4141

4242
// Deleting dtor: defers to the complete dtor.
4343
// LLVM: define{{.*}} void @_ZN1BD0Ev(ptr

0 commit comments

Comments
 (0)