From 9751af22c49926840e043fa4c386ba2bfafa2053 Mon Sep 17 00:00:00 2001 From: Jim Lin Date: Wed, 9 Jun 2021 15:19:43 +0800 Subject: [PATCH] [Docs] Fix incorrect return type for example code --- llvm/docs/Vectorizers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/docs/Vectorizers.rst b/llvm/docs/Vectorizers.rst index 7a827fb..a6565d4 100644 --- a/llvm/docs/Vectorizers.rst +++ b/llvm/docs/Vectorizers.rst @@ -254,7 +254,7 @@ The Loop Vectorizer can vectorize loops that count backwards. .. code-block:: c++ - int foo(int *A, int n) { + void foo(int *A, int n) { for (int i = n; i > 0; --i) A[i] +=1; } -- 2.7.4