@@ -530,7 +530,7 @@ class IntegralType extends ArithmeticType, IntegralOrEnumType {
530530
531531/**
532532 * The C/C++ boolean type. See 4.2. This is the C `_Bool` type
533- * or the C++ `bool` type. For example,
533+ * or the C++ `bool` type. For example:
534534 * ```
535535 * extern bool a, b; // C++
536536 * _Bool c, d; // C
@@ -545,7 +545,7 @@ class BoolType extends IntegralType {
545545/**
546546 * The C/C++ character types. See 4.3. This includes the `char`,
547547 * `signed char` and `unsigned char` types, all of which are
548- * distinct from one another. For example,
548+ * distinct from one another. For example:
549549 * ```
550550 * char a, b;
551551 * signed char c, d;
@@ -556,7 +556,7 @@ abstract class CharType extends IntegralType { }
556556
557557/**
558558 * The C/C++ `char` type (which is distinct from `signed char` and
559- * `unsigned char`). For example,
559+ * `unsigned char`). For example:
560560 * ```
561561 * char a, b;
562562 * ```
@@ -841,8 +841,10 @@ class Char32Type extends IntegralType {
841841}
842842
843843/**
844- * The (primitive) type of the C++11 `nullptr` constant. It is the
845- * unspeakable type given by `decltype(nullptr)`.
844+ * The (primitive) type of the C++11 `nullptr` constant. It is a
845+ * distinct type, denoted by `decltype(nullptr)`, that is not itself a pointer
846+ * type or a pointer to member type. The `<cstddef>` header usually defines
847+ * the `std::nullptr_t` type as follows:
846848 * ```
847849 * typedef decltype(nullptr) nullptr_t;
848850 * ```
@@ -857,12 +859,11 @@ class NullPointerType extends BuiltInType {
857859 * A C/C++ derived type.
858860 *
859861 * These are pointer and reference types, array and GNU vector types, and `const` and `volatile` types.
860- * In all cases, the type is formed from a single base type. For example,
862+ * In all cases, the type is formed from a single base type. For example:
861863 * ```
862864 * int *pi;
863865 * int &ri = *pi;
864866 * const float fa[40];
865- * decltype(pi) dpi;
866867 * ```
867868 */
868869class DerivedType extends Type , @derivedtype {
@@ -908,7 +909,7 @@ class DerivedType extends Type, @derivedtype {
908909}
909910
910911/**
911- * An instance of the C++11 `decltype` operator. For example,
912+ * An instance of the C++11 `decltype` operator. For example:
912913 * ```
913914 * int a;
914915 * decltype(a) b;
@@ -1165,8 +1166,8 @@ class ArrayType extends DerivedType {
11651166 * In both Clang and GNU compilers, vector types can be introduced using the
11661167 * `__attribute__((vector_size(byte_size)))` syntax. The Clang compiler also
11671168 * allows vector types to be introduced using the `ext_vector_type`,
1168- * `neon_vector_type`, and `neon_polyvector_typ`e attributes (all of which take
1169- * an element type rather than a byte size).
1169+ * `neon_vector_type`, and `neon_polyvector_type` attributes (all of which take
1170+ * an element count rather than a byte size).
11701171 * ```
11711172 * typedef int v4si __attribute__ (( vector_size(4*sizeof(int)) ));
11721173 * v4si v = { 1, 2, 3, 4 };
0 commit comments