mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-11 15:08:16 +00:00
[docs] Fix copy-and-paste bug in def-use example
This appeared when the example was converted to use range-based loop in r207755. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@232509 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
25e7243eda
commit
5a6068638e
@ -1816,7 +1816,7 @@ chain of ``F``:
|
||||
|
||||
Function *F = ...;
|
||||
|
||||
for (User *U : GV->users()) {
|
||||
for (User *U : F->users()) {
|
||||
if (Instruction *Inst = dyn_cast<Instruction>(U)) {
|
||||
errs() << "F is used in instruction:\n";
|
||||
errs() << *Inst << "\n";
|
||||
|
Loading…
x
Reference in New Issue
Block a user