This warnings were introduced in PR https://reviews.llvm.org/D32928.
I have project that treats warnings as errors so I can't build llvm there.
In file included from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h:15:0, from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h:13, from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h:17, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.h:16, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.cpp:16: /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:33:17: error: ‘virtual llvm::Error llvm::codeview::TypeVisitorCallbacks::visitTypeBegin(llvm::codeview::CVType&, llvm::codeview::TypeIndex)’ was hidden [-Werror=overloaded-virtual] virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { ^ In file included from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h:13:0, from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h:17, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.h:16, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.cpp:16: /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h:28:9: error: by ‘virtual llvm::Error llvm::codeview::TypeRecordMapping::visitTypeBegin(llvm::codeview::CVType&)’ [-Werror=overloaded-virtual] Error visitTypeBegin(CVType &Record) override; ^ In file included from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeRecordMapping.h:15:0, from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h:13, from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h:17, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.h:16, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.cpp:16: /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h:33:17: error: ‘virtual llvm::Error llvm::codeview::TypeVisitorCallbacks::visitTypeBegin(llvm::codeview::CVType&, llvm::codeview::TypeIndex)’ was hidden [-Werror=overloaded-virtual] virtual Error visitTypeBegin(CVType &Record, TypeIndex Index) { ^ In file included from /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeTableBuilder.h:17:0, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.h:16, from /home/sergey/git/llvm/llvm/tools/llilc/lib/ObjWriter/objwriter.cpp:16: /home/sergey/git/llvm/llvm/include/llvm/DebugInfo/CodeView/TypeSerializer.h:96:9: error: by ‘virtual llvm::Error llvm::codeview::TypeSerializer::visitTypeBegin(llvm::codeview::CVType&)’ [-Werror=overloaded-virtual] Error visitTypeBegin(CVType &Record) override;