summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-09-02 19:24:14 +0000
committerYunzhong Gao <Yunzhong_Gao@playstation.sony.com>2014-09-02 19:24:14 +0000
commit637cb90ba832a3d51cd04db87b6c34b934f51529 (patch)
treef9872d50a5fa6bdfb20c55b06a3ba1e2382eb8e4
parent907e64b4362355386a1669e0d8fdba6879b31d29 (diff)
downloadbcm5719-llvm-637cb90ba832a3d51cd04db87b6c34b934f51529.tar.gz
bcm5719-llvm-637cb90ba832a3d51cd04db87b6c34b934f51529.zip
Fixing a typo in the documented __builtin_convertvector example.
"vf[0]" ==> "vs[0]" llvm-svn: 216935
-rw-r--r--clang/docs/LanguageExtensions.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/LanguageExtensions.rst b/clang/docs/LanguageExtensions.rst
index 26c1418cb61..dc4e4844dbd 100644
--- a/clang/docs/LanguageExtensions.rst
+++ b/clang/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**:
OpenPOWER on IntegriCloud