@@ -362,7 +362,7 @@ private predicate isIntegralType(@builtintype type, int kind) {
362362}
363363
364364/**
365- * A C/C++ integral or enum type.
365+ * A C/C++ integral or ` enum` type.
366366 *
367367 * The definition of "integral type" in the C++ Standard excludes `enum` types,
368368 * but because an `enum` type holds a value of its underlying integral type,
@@ -569,7 +569,7 @@ class PlainCharType extends CharType {
569569
570570/**
571571 * The C/C++ `unsigned char` type (which is distinct from plain `char`
572- * even when `char` is unsigned by default).
572+ * even when `char` is ` unsigned` by default).
573573 * ```
574574 * unsigned char e, f;
575575 * ```
@@ -582,7 +582,7 @@ class UnsignedCharType extends CharType {
582582
583583/**
584584 * The C/C++ `signed char` type (which is distinct from plain `char`
585- * even when `char` is signed by default).
585+ * even when `char` is ` signed` by default).
586586 * ```
587587 * signed char c, d;
588588 * ```
@@ -928,17 +928,17 @@ class Decltype extends Type, @decltype {
928928 */
929929 Type getBaseType ( ) { decltypes ( underlyingElement ( this ) , _, unresolveElement ( result ) , _) }
930930
931- override string getCanonicalQLClass ( ) { result = "Decltype" }
932-
933931 /**
934932 * Whether an extra pair of parentheses around the expression would change the semantics of this decltype.
935933 *
936934 * The following example shows the effect of an extra pair of parentheses:
937- * struct A { double x; };
938- * const A* a = new A();
939- * decltype( a->x ); // type is double
940- * decltype((a->x)); // type is const double&
941- * Consult the C++11 standard for more details.
935+ * ```
936+ * struct A { double x; };
937+ * const A* a = new A();
938+ * decltype( a->x ); // type is double
939+ * decltype((a->x)); // type is const double&
940+ * ```
941+ * Please consult the C++11 standard for more details.
942942 */
943943 predicate parenthesesWouldChangeMeaning ( ) { decltypes ( underlyingElement ( this ) , _, _, true ) }
944944
@@ -1007,7 +1007,7 @@ class PointerType extends DerivedType {
10071007/**
10081008 * A C++ reference type. See 4.9.1.
10091009 *
1010- * For C++11 code bases, this includes both _lvalue_ references (& ) and _rvalue_ references (&& ).
1010+ * For C++11 code bases, this includes both _lvalue_ references (`&` ) and _rvalue_ references (`&&` ).
10111011 * To distinguish between them, use the LValueReferenceType and RValueReferenceType classes.
10121012 */
10131013class ReferenceType extends DerivedType {
@@ -1033,7 +1033,7 @@ class ReferenceType extends DerivedType {
10331033}
10341034
10351035/**
1036- * A C++11 lvalue reference type (e.g. `int& `).
1036+ * A C++11 lvalue reference type (e.g. `int & `).
10371037 * ```
10381038 * int a;
10391039 * int& b = a;
@@ -1046,8 +1046,8 @@ class LValueReferenceType extends ReferenceType {
10461046}
10471047
10481048/**
1049- * A C++11 rvalue reference type (e.g. `int&& `). It is used to
1050- * implement "move" semantics for object construction and assignments .
1049+ * A C++11 rvalue reference type (e.g., `int && `). It is used to
1050+ * implement "move" semantics for object construction and assignment .
10511051 * ```
10521052 * class C {
10531053 * E e;
@@ -1251,7 +1251,7 @@ class FunctionReferenceType extends FunctionPointerIshType {
12511251}
12521252
12531253/**
1254- * A block type, for example int(^)(char, float).
1254+ * A block type, for example, ` int(^)(char, float)` .
12551255 *
12561256 * Block types (along with blocks themselves) are a language extension
12571257 * supported by Clang, and by Apple's branch of GCC.
0 commit comments