[llvm] r247086 - [docs] Fix typo in catchret example

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 15:28:38 PDT 2015


Author: vedantk
Date: Tue Sep  8 17:28:38 2015
New Revision: 247086

URL: http://llvm.org/viewvc/llvm-project?rev=247086&view=rev
Log:
[docs] Fix typo in catchret example

An example usage of catchret omitted the "to" in "to label" in
ExceptionHandling.rst.

Modified:
    llvm/trunk/docs/ExceptionHandling.rst

Modified: llvm/trunk/docs/ExceptionHandling.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/ExceptionHandling.rst?rev=247086&r1=247085&r2=247086&view=diff
==============================================================================
--- llvm/trunk/docs/ExceptionHandling.rst (original)
+++ llvm/trunk/docs/ExceptionHandling.rst Tue Sep  8 17:28:38 2015
@@ -715,7 +715,7 @@ all of the new IR instructions:
 
   invoke.cont.3:                                    ; preds = %catch.body
     %9 = load i32, i32* %e, align 4
-    catchret %catch label %return
+    catchret %catch to label %return
 
   catchend:                                         ; preds = %lpad.catch, %catch.body
     catchendpad unwind label %lpad.terminate




More information about the llvm-commits mailing list