1
0
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:
Adam Nemet 2015-03-17 17:51:58 +00:00
parent eaa0813800
commit 9a119a2574

View File

@ -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";