From: Yunzhong Gao Date: Tue, 2 Sep 2014 19:24:14 +0000 (+0000) Subject: Fixing a typo in the documented __builtin_convertvector example. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2ced523dec78e931e33a4a4950f961b2b72c9dc;p=clang Fixing a typo in the documented __builtin_convertvector example. "vf[0]" ==> "vs[0]" git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@216935 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/docs/LanguageExtensions.rst b/docs/LanguageExtensions.rst index 26c1418cb6..dc4e4844db 100644 --- a/docs/LanguageExtensions.rst +++ b/docs/LanguageExtensions.rst @@ -1354,7 +1354,7 @@ type must have the same number of elements. // convert from a vector of 4 shorts to a vector of 4 floats. __builtin_convertvector(vs, vector4float) // equivalent to: - (vector4float) { (float) vf[0], (float) vf[1], (float) vf[2], (float) vf[3] } + (vector4float) { (float) vs[0], (float) vs[1], (float) vs[2], (float) vs[3] } **Description**: