[docs] Fix typo in catchret example
authorVedant Kumar <vsk@apple.com>
Tue, 8 Sep 2015 22:28:38 +0000 (22:28 +0000)
committerVedant Kumar <vsk@apple.com>
Tue, 8 Sep 2015 22:28:38 +0000 (22:28 +0000)
An example usage of catchret omitted the "to" in "to label" in
ExceptionHandling.rst.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@247086 91177308-0d34-0410-b5e6-96231b3b80d8

docs/ExceptionHandling.rst

index 9d8284598f56fc5c39a010758fba594ef642f364..5b495d9863cdd0f013516cda6b02e4ef8a68605f 100644 (file)
@@ -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