summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2016-09-02 03:50:50 +0000
committerLang Hames <lhames@gmail.com>2016-09-02 03:50:50 +0000
commitc5d41d4ada5ef0309436930a69f2d6cf766de35e (patch)
treef2182324d2dacb79a3508957ab5acd755f7797b2
parent42f5dd80666062415854789d64ef0d28bf223c5a (diff)
downloadbcm5719-llvm-c5d41d4ada5ef0309436930a69f2d6cf766de35e.tar.gz
bcm5719-llvm-c5d41d4ada5ef0309436930a69f2d6cf766de35e.zip
[Docs] Fix another typo in the Error/Expected docs.
llvm-svn: 280461
-rw-r--r--llvm/docs/ProgrammersManual.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/docs/ProgrammersManual.rst b/llvm/docs/ProgrammersManual.rst
index 0ab1a4c585d..bb144bb88d3 100644
--- a/llvm/docs/ProgrammersManual.rst
+++ b/llvm/docs/ProgrammersManual.rst
@@ -414,8 +414,8 @@ the boolean conversion operator):
// Safe to continue: Err was checked.
-In contrast, the following code will always cause an abort, regardless of the
-return value of ``foo``:
+In contrast, the following code will always cause an abort, even if ``canFail``
+returns a success value:
.. code-block:: c++
OpenPOWER on IntegriCloud