diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-08-17 23:47:00 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-08-17 23:47:00 +0000 |
commit | 5229cfd1638705a7dbf668a840c6015f6b3ecbc6 (patch) | |
tree | 6386075afc3c37ab8378d2c8873a0172b000a847 /llvm/lib/Analysis/ValueTracking.cpp | |
parent | 3a1623f5e4478edf2ff6a50eb5a7cade0087c6e9 (diff) | |
download | llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.zip llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.gz llvm-5229cfd1638705a7dbf668a840c6015f6b3ecbc6.tar.bz2 |
Repace SmallPtrSet with SmallPtrSetImpl in function arguments to avoid needing to mention the size.
llvm-svn: 215868
Diffstat (limited to 'llvm/lib/Analysis/ValueTracking.cpp')
-rw-r--r-- | llvm/lib/Analysis/ValueTracking.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ValueTracking.cpp b/llvm/lib/Analysis/ValueTracking.cpp index 4edfb61..5716e24 100644 --- a/llvm/lib/Analysis/ValueTracking.cpp +++ b/llvm/lib/Analysis/ValueTracking.cpp @@ -1833,7 +1833,7 @@ bool llvm::getConstantStringInfo(const Value *V, StringRef &Str, /// GetStringLengthH - If we can compute the length of the string pointed to by /// the specified pointer, return 'len+1'. If we can't, return 0. -static uint64_t GetStringLengthH(Value *V, SmallPtrSet<PHINode*, 32> &PHIs) { +static uint64_t GetStringLengthH(Value *V, SmallPtrSetImpl<PHINode*> &PHIs) { // Look through noop bitcast instructions. V = V->stripPointerCasts(); |