[docs] Fix typo in the example code in ProgrammersManual.

Differential Revision: https://reviews.llvm.org/D117665
This commit is contained in:
Hsiangkai Wang 2022-01-18 07:44:27 +00:00
parent 70cef70b13
commit d93ffa1b37
1 changed files with 1 additions and 1 deletions

View File

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