[CPP-418] Tweak vector initializer syntax.

This commit is contained in:
Ziemowit Laski
2019-09-09 15:52:53 -07:00
committed by Geoffrey White
parent ecb700c8f4
commit 89655612b0

View File

@@ -1009,7 +1009,7 @@ class PointerType extends DerivedType {
* A C++ reference type. See 4.9.1. * A C++ reference type. See 4.9.1.
* *
* For C++11 code bases, this includes both _lvalue_ references (`&`) and _rvalue_ references (`&&`). * For C++11 code bases, this includes both _lvalue_ references (`&`) and _rvalue_ references (`&&`).
* To distinguish between them, use the LValueReferenceType and RValueReferenceType classes. * To distinguish between them, use the LValueReferenceType and RValueReferenceType QL classes.
*/ */
class ReferenceType extends DerivedType { class ReferenceType extends DerivedType {
ReferenceType() { ReferenceType() {
@@ -1172,7 +1172,7 @@ class ArrayType extends DerivedType {
* typedef int v4si __attribute__ (( vector_size(4*sizeof(int)) )); * typedef int v4si __attribute__ (( vector_size(4*sizeof(int)) ));
* v4si v = { 1, 2, 3, 4 }; * v4si v = { 1, 2, 3, 4 };
* typedef float float4 __attribute__((ext_vector_type(4))); * typedef float float4 __attribute__((ext_vector_type(4)));
* float4 vf = (float4)(1.0f, 2.0f, 3.0f, 4.0f); * float4 vf = (float4){1.0f, 2.0f, 3.0f, 4.0f};
* ``` * ```
*/ */
class GNUVectorType extends DerivedType { class GNUVectorType extends DerivedType {