]> granicus.if.org Git - llvm/commitdiff
Add a using declaration so that the overrides don't hide some of the
authorChandler Carruth <chandlerc@gmail.com>
Sat, 11 Jun 2016 08:12:17 +0000 (08:12 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 11 Jun 2016 08:12:17 +0000 (08:12 +0000)
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

include/llvm/MC/MCObjectStreamer.h

index 45a61aad889ed4869ecb962487eab64922d1ddeb..d7775f27868cbdc5727d7a9e0d4735c72823d88c 100644 (file)
@@ -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;