forked from OSchip/llvm-project
[docs] Fix typo in the example code in ProgrammersManual.
Differential Revision: https://reviews.llvm.org/D117665
This commit is contained in:
parent
70cef70b13
commit
d93ffa1b37
|
@ -585,7 +585,7 @@ semantics. For example:
|
|||
// On error, return the Error value.
|
||||
return Err;
|
||||
// On success, use MB.
|
||||
return processContent(MB->getBuffer());
|
||||
return processBuffer(MB->getBuffer());
|
||||
}
|
||||
|
||||
This third form works with any type that can be assigned to from ``T&&``. This
|
||||
|
|
Loading…
Reference in New Issue