aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/Lint.cpp
diff options
context:
space:
mode:
authorVitaly Buka <vitalybuka@google.com>2020-07-30 21:07:10 -0700
committerVitaly Buka <vitalybuka@google.com>2020-07-30 21:08:24 -0700
commit89051ebacea72733ff7088cf09a760b1be707acf (patch)
treed6c3c02920f3314f5686c3f715c37dec1fe16fe1 /llvm/lib/Analysis/Lint.cpp
parent9f0225894254c4706519c85d6fc06c5382903fef (diff)
downloadllvm-89051ebacea72733ff7088cf09a760b1be707acf.zip
llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.gz
llvm-89051ebacea72733ff7088cf09a760b1be707acf.tar.bz2
[NFC] GetUnderlyingObject -> getUnderlyingObject
I am going to touch them in the next patch anyway
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
-rw-r--r--llvm/lib/Analysis/Lint.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/Lint.cpp b/llvm/lib/Analysis/Lint.cpp
index 3801753..a03f425 100644
--- a/llvm/lib/Analysis/Lint.cpp
+++ b/llvm/lib/Analysis/Lint.cpp
@@ -673,7 +673,7 @@ Value *Lint::findValueImpl(Value *V, bool OffsetOk,
// TODO: Look through eliminable cast pairs.
// TODO: Look through calls with unique return values.
// TODO: Look through vector insert/extract/shuffle.
- V = OffsetOk ? GetUnderlyingObject(V, *DL) : V->stripPointerCasts();
+ V = OffsetOk ? getUnderlyingObject(V, *DL) : V->stripPointerCasts();
if (LoadInst *L = dyn_cast<LoadInst>(V)) {
BasicBlock::iterator BBI = L->getIterator();
BasicBlock *BB = L->getParent();