Use StringRef in Pass/PassManager APIs (NFC)

llvm-svn: 283004
This commit is contained in:
Mehdi Amini
2016-10-01 02:56:57 +00:00
parent 86eeda8e20
commit 117296c0a0
217 changed files with 260 additions and 398 deletions

View File

@@ -48,7 +48,7 @@ namespace {
initializeWriteBitcodePassPass(*PassRegistry::getPassRegistry());
}
const char *getPassName() const override { return "Bitcode Writer"; }
StringRef getPassName() const override { return "Bitcode Writer"; }
bool runOnModule(Module &M) override {
const ModuleSummaryIndex *Index =