Index: include/llvm/DebugInfo/CodeView/TypeRecordMapping.h =================================================================== --- include/llvm/DebugInfo/CodeView/TypeRecordMapping.h +++ include/llvm/DebugInfo/CodeView/TypeRecordMapping.h @@ -25,6 +25,8 @@ explicit TypeRecordMapping(BinaryStreamReader &Reader) : IO(Reader) {} explicit TypeRecordMapping(BinaryStreamWriter &Writer) : IO(Writer) {} + using TypeVisitorCallbacks::visitTypeBegin; + Error visitTypeBegin(CVType &Record) override; Error visitTypeEnd(CVType &Record) override; Index: include/llvm/DebugInfo/CodeView/TypeSerializer.h =================================================================== --- include/llvm/DebugInfo/CodeView/TypeSerializer.h +++ include/llvm/DebugInfo/CodeView/TypeSerializer.h @@ -92,6 +92,8 @@ TypeIndex insertRecordBytes(ArrayRef &Record); TypeIndex insertRecord(const RemappedType &Record); Expected visitTypeEndGetIndex(CVType &Record); + + using TypeVisitorCallbacks::visitTypeBegin; Error visitTypeBegin(CVType &Record) override; Error visitTypeEnd(CVType &Record) override;