@@ -516,7 +516,7 @@ class IntegralType extends ArithmeticType, IntegralOrEnumType {
516
516
517
517
/**
518
518
* The C/C++ boolean type. See 4.2. This is the C `_Bool` type
519
- * or the C++ `bool` type. For example,
519
+ * or the C++ `bool` type. For example:
520
520
* ```
521
521
* extern bool a, b; // C++
522
522
* _Bool c, d; // C
@@ -532,7 +532,7 @@ class BoolType extends IntegralType {
532
532
/**
533
533
* The C/C++ character types. See 4.3. This includes the `char`,
534
534
* `signed char` and `unsigned char` types, all of which are
535
- * distinct from one another. For example,
535
+ * distinct from one another. For example:
536
536
* ```
537
537
* char a, b;
538
538
* signed char c, d;
@@ -543,7 +543,7 @@ abstract class CharType extends IntegralType { }
543
543
544
544
/**
545
545
* The C/C++ `char` type (which is distinct from `signed char` and
546
- * `unsigned char`). For example,
546
+ * `unsigned char`). For example:
547
547
* ```
548
548
* char a, b;
549
549
* ```
@@ -833,8 +833,10 @@ class Char32Type extends IntegralType {
833
833
}
834
834
835
835
/**
836
- * The (primitive) type of the C++11 `nullptr` constant. It is the
837
- * unspeakable type given by `decltype(nullptr)`.
836
+ * The (primitive) type of the C++11 `nullptr` constant. It is a
837
+ * distinct type, denoted by `decltype(nullptr)`, that is not itself a pointer
838
+ * type or a pointer to member type. The `<cstddef>` header usually defines
839
+ * the `std::nullptr_t` type as follows:
838
840
* ```
839
841
* typedef decltype(nullptr) nullptr_t;
840
842
* ```
@@ -849,12 +851,11 @@ class NullPointerType extends BuiltInType {
849
851
* A C/C++ derived type.
850
852
*
851
853
* These are pointer and reference types, array and GNU vector types, and `const` and `volatile` types.
852
- * In all cases, the type is formed from a single base type. For example,
854
+ * In all cases, the type is formed from a single base type. For example:
853
855
* ```
854
856
* int *pi;
855
857
* int &ri = *pi;
856
858
* const float fa[40];
857
- * decltype(pi) dpi;
858
859
* ```
859
860
*/
860
861
class DerivedType extends Type , @derivedtype {
@@ -906,7 +907,7 @@ class DerivedType extends Type, @derivedtype {
906
907
}
907
908
908
909
/**
909
- * An instance of the C++11 `decltype` operator. For example,
910
+ * An instance of the C++11 `decltype` operator. For example:
910
911
* ```
911
912
* int a;
912
913
* decltype(a) b;
@@ -1202,8 +1203,8 @@ class ArrayType extends DerivedType {
1202
1203
* In both Clang and GNU compilers, vector types can be introduced using the
1203
1204
* `__attribute__((vector_size(byte_size)))` syntax. The Clang compiler also
1204
1205
* allows vector types to be introduced using the `ext_vector_type`,
1205
- * `neon_vector_type`, and `neon_polyvector_typ`e attributes (all of which take
1206
- * an element type rather than a byte size).
1206
+ * `neon_vector_type`, and `neon_polyvector_type` attributes (all of which take
1207
+ * an element count rather than a byte size).
1207
1208
* ```
1208
1209
* typedef int v4si __attribute__ (( vector_size(4*sizeof(int)) ));
1209
1210
* v4si v = { 1, 2, 3, 4 };
0 commit comments