Skip to content

Commit 31d7229

Browse files
committed
[CIR]#163601:handle function type
1 parent 0b1ef8c commit 31d7229

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
@@ -957,8 +957,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) {
957957

958958
case Type::FunctionNoProto:
959959
case Type::FunctionProto:
960-
cgm.errorNYI("VTableClassNameForType: __function_type_info");
961-
break;
960+
return "_ZTVN10__cxxabiv120__function_type_infoE";
962961

963962
case Type::Enum:
964963
return "_ZTVN10__cxxabiv116__enum_type_infoE";

0 commit comments

Comments
 (0)