//===- lib/MC/MCNullStreamer.cpp - Dummy Streamer Implementation ----------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "llvm/ADT/StringRef.h" #include "llvm/MC/MCDirectives.h" #include "llvm/MC/MCStreamer.h" #include "llvm/Support/SMLoc.h" namespace llvm { class MCContext; class MCExpr; class MCSection; class MCSymbol; } // namespace llvm usingnamespacellvm; namespace { class MCNullStreamer : public MCStreamer { … }; } MCStreamer *llvm::createNullStreamer(MCContext &Context) { … }