diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2014-03-09 03:16:50 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2014-03-09 03:16:50 +0000 |
| commit | 2201e59542025cdce2d92988a40e9fc520340ef3 (patch) | |
| tree | cb46bc120d68429e1a8d7bef279254ba93766a6f /lib/CodeGen/CGCall.cpp | |
| parent | df4c4c09eeb747af3a42734a895879ed0289fa1a (diff) | |
| download | clang-2201e59542025cdce2d92988a40e9fc520340ef3.tar.gz clang-2201e59542025cdce2d92988a40e9fc520340ef3.tar.bz2 clang-2201e59542025cdce2d92988a40e9fc520340ef3.tar.xz | |
[C++11] Update Clang for the change to LLVM's Use-Def chain iterators in
r203364: what was use_iterator is now user_iterator, and there is
a use_iterator for directly iterating over the uses.
This also switches to use the range-based APIs where appropriate.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203365 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGCall.cpp')
| -rw-r--r-- | lib/CodeGen/CGCall.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/CGCall.cpp b/lib/CodeGen/CGCall.cpp index 4f564df208..a39f13b519 100644 --- a/lib/CodeGen/CGCall.cpp +++ b/lib/CodeGen/CGCall.cpp @@ -1742,7 +1742,7 @@ static llvm::StoreInst *findDominatingStoreToReturnValue(CodeGenFunction &CGF) { } llvm::StoreInst *store = - dyn_cast<llvm::StoreInst>(CGF.ReturnValue->use_back()); + dyn_cast<llvm::StoreInst>(CGF.ReturnValue->user_back()); if (!store) return 0; // These aren't actually possible for non-coerced returns, and we |
