[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:26:16 PST 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGd93ffa1b37b3: [docs] Fix typo in the example code in ProgrammersManual. (authored by HsiangKai).
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.401453.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220120/38dc85f7/attachment.bin>
More information about the llvm-commits
mailing list