summaryrefslogtreecommitdiff
path: root/include/llvm/Pass.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-11-06 10:58:06 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-11-06 10:58:06 +0000
commit2928c83b010f7cfdb0f819199d806f6942a7d995 (patch)
tree0c5a62b287e4c2c693330584a8f1d6024defde66 /include/llvm/Pass.h
parentc128b3e74eaba34a8f6d2b8c3dc19861b9cbd901 (diff)
downloadllvm-2928c83b010f7cfdb0f819199d806f6942a7d995.tar.gz
llvm-2928c83b010f7cfdb0f819199d806f6942a7d995.tar.bz2
llvm-2928c83b010f7cfdb0f819199d806f6942a7d995.tar.xz
Pass StringRef by value.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@86251 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Pass.h')
-rw-r--r--include/llvm/Pass.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Pass.h b/include/llvm/Pass.h
index 6bef2e79b2..909ccde86a 100644
--- a/include/llvm/Pass.h
+++ b/include/llvm/Pass.h
@@ -167,7 +167,7 @@ public:
// lookupPassInfo - Return the pass info object for the pass with the given
// argument string, or null if it is not known.
- static const PassInfo *lookupPassInfo(const StringRef &Arg);
+ static const PassInfo *lookupPassInfo(StringRef Arg);
/// getAnalysisIfAvailable<AnalysisType>() - Subclasses use this function to
/// get analysis information that might be around, for example to update it.