diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2017-01-02 19:17:04 +0000 |
| commit | b915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch) | |
| tree | 98b8f811c7aff2547cab8642daf372d6c59502fb /include/llvm/Bitcode/BitcodeWriterPass.h | |
| parent | 6421cca32f69ac849537a3cff78c352195e99f1b (diff) | |
Notes
Diffstat (limited to 'include/llvm/Bitcode/BitcodeWriterPass.h')
| -rw-r--r-- | include/llvm/Bitcode/BitcodeWriterPass.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Bitcode/BitcodeWriterPass.h b/include/llvm/Bitcode/BitcodeWriterPass.h index 946255b878a6..9ac6fba16b96 100644 --- a/include/llvm/Bitcode/BitcodeWriterPass.h +++ b/include/llvm/Bitcode/BitcodeWriterPass.h @@ -44,7 +44,7 @@ ModulePass *createBitcodeWriterPass(raw_ostream &Str, /// /// Note that this is intended for use with the new pass manager. To construct /// a pass for the legacy pass manager, use the function above. -class BitcodeWriterPass { +class BitcodeWriterPass : public PassInfoMixin<BitcodeWriterPass> { raw_ostream &OS; bool ShouldPreserveUseListOrder; bool EmitSummaryIndex; @@ -68,8 +68,6 @@ public: /// \brief Run the bitcode writer pass, and output the module to the selected /// output stream. PreservedAnalyses run(Module &M, ModuleAnalysisManager &); - - static StringRef name() { return "BitcodeWriterPass"; } }; } |
