diff --git a/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp b/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp index c184d4a4b1d97..b3045a5661734 100644 --- a/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenItaniumCXXABI.cpp @@ -941,9 +941,7 @@ const char *vTableClassNameForType(const CIRGenModule &cgm, const Type *ty) { case Type::ConstantArray: case Type::IncompleteArray: case Type::VariableArray: - cgm.errorNYI("VTableClassNameForType: __array_type_info"); - break; - + return "_ZTVN10__cxxabiv117__array_type_infoE"; case Type::FunctionNoProto: case Type::FunctionProto: cgm.errorNYI("VTableClassNameForType: __function_type_info");