Skip to content

Commit 656c03d

Browse files
committed
[CIR]#163601:handle function type
1 parent 3f3af56 commit 656c03d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -946,8 +946,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) {
946946

947947
case Type::FunctionNoProto:
948948
case Type::FunctionProto:
949-
cgm.errorNYI("VTableClassNameForType: __function_type_info");
950-
break;
949+
return "_ZTVN10__cxxabiv120__function_type_infoE";
951950

952951
case Type::Enum:
953952
cgm.errorNYI("VTableClassNameForType: Enum");

0 commit comments

Comments
 (0)