[PATCH] D117665: [docs] Fix typo in the example code in ProgrammersManual.
Hsiangkai Wang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 17:22:08 PST 2022
HsiangKai updated this revision to Diff 401451.
HsiangKai added a comment.
Address @dexonsmith's comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117665/new/
https://reviews.llvm.org/D117665
Files:
llvm/docs/ProgrammersManual.rst
Index: llvm/docs/ProgrammersManual.rst
===================================================================
--- llvm/docs/ProgrammersManual.rst
+++ llvm/docs/ProgrammersManual.rst
@@ -585,7 +585,7 @@
// 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117665.401451.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/36e544b7/attachment.bin>
More information about the llvm-commits
mailing list