mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 03:02:36 +01: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. llvm-svn: 232509
This commit is contained in:
parent
eaa0813800
commit
9a119a2574
@ -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…
Reference in New Issue
Block a user