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 1851fff9c0
commit 1fef2dd6b7
216 changed files with 259 additions and 397 deletions
+1 -1
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 =