From: Chandler Carruth Date: Sat, 11 Jun 2016 08:12:17 +0000 (+0000) Subject: Add a using declaration so that the overrides don't hide some of the X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e42eb46ac5be446dd0c13aa9c8d62600b2848af8;p=llvm Add a using declaration so that the overrides don't hide some of the base class methods. This was caught by GCC's -Woverloaded-virtual, not sure why it wasn't caught by Clang's. =/ git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272460 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/llvm/MC/MCObjectStreamer.h b/include/llvm/MC/MCObjectStreamer.h index 45a61aad889..d7775f27868 100644 --- a/include/llvm/MC/MCObjectStreamer.h +++ b/include/llvm/MC/MCObjectStreamer.h @@ -140,6 +140,7 @@ public: void EmitGPRel64Value(const MCExpr *Value) override; bool EmitRelocDirective(const MCExpr &Offset, StringRef Name, const MCExpr *Expr, SMLoc Loc) override; + using MCStreamer::emitFill; void emitFill(uint64_t NumBytes, uint8_t FillValue) override; void emitFill(const MCExpr &NumBytes, uint64_t FillValue, SMLoc Loc = SMLoc()) override;