diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 02:56:57 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 02:56:57 +0000 |
commit | 117296c0a00860072854dd3fee8cd710b7955cf7 (patch) | |
tree | 8607cdf84f087928e123b023d511a39d99e088e6 /llvm/lib/CodeGen/MachineCombiner.cpp | |
parent | 86eeda8e20d5aa5a5622a487c56364b4b26c6f3a (diff) | |
download | llvm-117296c0a00860072854dd3fee8cd710b7955cf7.zip llvm-117296c0a00860072854dd3fee8cd710b7955cf7.tar.gz llvm-117296c0a00860072854dd3fee8cd710b7955cf7.tar.bz2 |
Use StringRef in Pass/PassManager APIs (NFC)
llvm-svn: 283004
Diffstat (limited to 'llvm/lib/CodeGen/MachineCombiner.cpp')
-rw-r--r-- | llvm/lib/CodeGen/MachineCombiner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/MachineCombiner.cpp b/llvm/lib/CodeGen/MachineCombiner.cpp index 6b5c6ba..b4e217c 100644 --- a/llvm/lib/CodeGen/MachineCombiner.cpp +++ b/llvm/lib/CodeGen/MachineCombiner.cpp @@ -56,7 +56,7 @@ public: } void getAnalysisUsage(AnalysisUsage &AU) const override; bool runOnMachineFunction(MachineFunction &MF) override; - const char *getPassName() const override { return "Machine InstCombiner"; } + StringRef getPassName() const override { return "Machine InstCombiner"; } private: bool doSubstitute(unsigned NewSize, unsigned OldSize); |