From d93ffa1b37b36614b8e43fee6707aff91a57f4c9 Mon Sep 17 00:00:00 2001 From: Hsiangkai Wang Date: Tue, 18 Jan 2022 07:44:27 +0000 Subject: [PATCH] [docs] Fix typo in the example code in ProgrammersManual. Differential Revision: https://reviews.llvm.org/D117665 --- llvm/docs/ProgrammersManual.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst index 074ec3b..630893a 100644 --- a/llvm/docs/ProgrammersManual.rst +++ b/llvm/docs/ProgrammersManual.rst @@ -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 -- 2.7.4