summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/Pass.cpp
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-10-01 04:03:30 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-10-01 04:03:30 +0000
commitf20abe53f4b217ea6e6c6e36a042deeca7f09827 (patch)
tree71bc29278a613fd6b2b10fc516e04ffd039dc720 /llvm/lib/IR/Pass.cpp
parente11b745b666396a503c8638991d75691c60490dd (diff)
downloadbcm5719-llvm-f20abe53f4b217ea6e6c6e36a042deeca7f09827.tar.gz
bcm5719-llvm-f20abe53f4b217ea6e6c6e36a042deeca7f09827.zip
Use StringRef in Pass Info/Support API (NFC)
llvm-svn: 283008
Diffstat (limited to 'llvm/lib/IR/Pass.cpp')
-rw-r--r--llvm/lib/IR/Pass.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Pass.cpp b/llvm/lib/IR/Pass.cpp
index 94325293997..a42945ef3ff 100644
--- a/llvm/lib/IR/Pass.cpp
+++ b/llvm/lib/IR/Pass.cpp
@@ -218,7 +218,7 @@ Pass *Pass::createPass(AnalysisID ID) {
// RegisterAGBase implementation
//
-RegisterAGBase::RegisterAGBase(const char *Name, const void *InterfaceID,
+RegisterAGBase::RegisterAGBase(StringRef Name, const void *InterfaceID,
const void *PassID, bool isDefault)
: PassInfo(Name, InterfaceID) {
PassRegistry::getPassRegistry()->registerAnalysisGroup(InterfaceID, PassID,
OpenPOWER on IntegriCloud