Skip to content

Commit ecf8e5d

Browse files
committed
CPP: Add backticks.
1 parent d649835 commit ecf8e5d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

cpp/ql/src/semmle/code/cpp/commons/CommonType.qll

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import semmle.code.cpp.Type
22

33
/**
4-
* The C/C++ char* type.
4+
* The C/C++ `char*` type.
55
*/
66
class CharPointerType extends PointerType {
77

@@ -10,7 +10,7 @@ class CharPointerType extends PointerType {
1010
}
1111

1212
/**
13-
* The C/C++ int* type.
13+
* The C/C++ `int*` type.
1414
*/
1515
class IntPointerType extends PointerType {
1616

@@ -20,7 +20,7 @@ class IntPointerType extends PointerType {
2020

2121

2222
/**
23-
* The C/C++ void* type.
23+
* The C/C++ `void*` type.
2424
*/
2525
class VoidPointerType extends PointerType {
2626

@@ -29,7 +29,7 @@ class VoidPointerType extends PointerType {
2929
}
3030

3131
/**
32-
* The C/C++ size_t type.
32+
* The C/C++ `size_t` type.
3333
*/
3434
class Size_t extends Type {
3535
Size_t() {
@@ -39,7 +39,7 @@ class Size_t extends Type {
3939
}
4040

4141
/**
42-
* The C/C++ ssize_t type.
42+
* The C/C++ `ssize_t` type.
4343
*/
4444
class Ssize_t extends Type {
4545
Ssize_t() {
@@ -49,7 +49,7 @@ class Ssize_t extends Type {
4949
}
5050

5151
/**
52-
* The C/C++ ptrdiff_t type.
52+
* The C/C++ `ptrdiff_t` type.
5353
*/
5454
class Ptrdiff_t extends Type {
5555
Ptrdiff_t() {
@@ -59,7 +59,7 @@ class Ptrdiff_t extends Type {
5959
}
6060

6161
/**
62-
* The C/C++ intmax_t type.
62+
* The C/C++ `intmax_t` type.
6363
*/
6464
class Intmax_t extends Type {
6565
Intmax_t() {
@@ -69,7 +69,7 @@ class Intmax_t extends Type {
6969
}
7070

7171
/**
72-
* The C/C++ uintmax_t type.
72+
* The C/C++ `uintmax_t` type.
7373
*/
7474
class Uintmax_t extends Type {
7575
Uintmax_t() {
@@ -79,7 +79,7 @@ class Uintmax_t extends Type {
7979
}
8080

8181
/**
82-
* The C/C++ wchar_t type.
82+
* The C/C++ `wchar_t` type.
8383
*
8484
* Note that on some platforms `wchar_t` doesn't exist as a built-in
8585
* type but a typedef is provided. This QL class includes both cases

0 commit comments

Comments
 (0)