Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbb2ad88

Browse files
committed
Surround type name with single quotes in alert message
1 parentf3cee16 commitbb2ad88

File tree

2 files changed

+31
-31
lines changed

2 files changed

+31
-31
lines changed

‎cpp/autosar/src/rules/M5-0-12/SignedCharAndUnsignedCharTypeShallOnlyBeUsedForTheStorageAndUseOfNumericValues.ql‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,12 @@ string getMessageTemplate(ImplicitConversionLocation implicitConversionLocation)
228228
|
229229
implicitConversionLocation.isImplicitConversionOutsideTemplate()and
230230
result=
231-
"Implicit conversion of plain char $@ to "+implicitConversion.getType().getName()+"."
231+
"Implicit conversion of plain char $@ to'"+implicitConversion.getType().getName()+"'."
232232
or
233233
implicitConversionLocation.isInstantiationOfImplicitConversionTemplate()and
234234
result=
235-
"Implicit conversion of plain char $@ to "+implicitConversion.getType().getName()+
236-
" from instantiating template '"+
235+
"Implicit conversion of plain char $@ to'"+implicitConversion.getType().getName()+
236+
"' from instantiating template '"+
237237
implicitConversionLocation
238238
.asInstantiationOfImplicitConversionTemplate(implicitConversion)
239239
.getTemplate()
Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
1-
| test.cpp:93:7:93:9 | (unsigned char)... | Implicit conversion of plain char $@ to unsigned char. | test.cpp:93:7:93:9 | 118 | expression |
2-
| test.cpp:94:21:94:23 | (signed char)... | Implicit conversion of plain char $@ to signed char. | test.cpp:94:21:94:23 | 118 | expression |
3-
| test.cpp:102:7:102:9 | (unsigned char)... | Implicit conversion of plain char $@ to unsigned char. | test.cpp:102:7:102:9 | 118 | expression |
4-
| test.cpp:103:21:103:23 | (signed char)... | Implicit conversion of plain char $@ to signed char. | test.cpp:103:21:103:23 | 118 | expression |
5-
| test.cpp:121:7:121:8 | (unsigned char)... | Implicit conversion of plain char $@ to unsigned char. | test.cpp:121:7:121:8 | x3 | expression |
6-
| test.cpp:124:20:124:21 | (signed char)... | Implicit conversion of plain char $@ to signed char. | test.cpp:124:20:124:21 | x4 | expression |
7-
| test.cpp:134:21:134:22 | (uint8_t)... | Implicit conversion of plain char $@ to uint8_t. | test.cpp:134:21:134:22 | x7 | expression |
8-
| test.cpp:137:20:137:21 | (int8_t)... | Implicit conversion of plain char $@ to int8_t. | test.cpp:137:20:137:21 | x8 | expression |
9-
| test.cpp:147:17:147:18 | definition of c3 | Implicit conversion of plain char $@ to unsigned char from instantiating template 'C1<T, y>'. | test.cpp:5:12:5:12 | 120 | expression |
10-
| test.cpp:150:17:150:18 | definition of c4 | Implicit conversion of plain char $@ to signed char from instantiating template 'C2<T, y>'. | test.cpp:13:12:13:12 | 120 | expression |
11-
| test.cpp:160:15:160:16 | definition of c7 | Implicit conversion of plain char $@ to uint8_t from instantiating template 'C5<T, y>'. | test.cpp:22:12:22:12 | 1 | expression |
12-
| test.cpp:163:15:163:16 | definition of c8 | Implicit conversion of plain char $@ to int8_t from instantiating template 'C6<T, y>'. | test.cpp:30:12:30:12 | 1 | expression |
13-
| test.cpp:180:7:180:10 | (unsigned char)... | Implicit conversion of plain char $@ to unsigned char. | test.cpp:180:7:180:10 | * ... | expression |
14-
| test.cpp:185:7:185:10 | (signed char)... | Implicit conversion of plain char $@ to signed char. | test.cpp:185:7:185:10 | * ... | expression |
15-
| test.cpp:200:7:200:10 | (uint8_t)... | Implicit conversion of plain char $@ to uint8_t. | test.cpp:200:7:200:10 | * ... | expression |
16-
| test.cpp:205:7:205:10 | (int8_t)... | Implicit conversion of plain char $@ to int8_t. | test.cpp:205:7:205:10 | * ... | expression |
17-
| test.cpp:219:6:219:7 | (unsigned char)... | Implicit conversion of plain char $@ to unsigned char. | test.cpp:219:6:219:7 | a3 | expression |
18-
| test.cpp:222:6:222:7 | (signed char)... | Implicit conversion of plain char $@ to signed char. | test.cpp:222:6:222:7 | a4 | expression |
19-
| test.cpp:232:6:232:7 | (uint8_t)... | Implicit conversion of plain char $@ to uint8_t. | test.cpp:232:6:232:7 | a7 | expression |
20-
| test.cpp:235:7:235:8 | (int8_t)... | Implicit conversion of plain char $@ to int8_t. | test.cpp:235:7:235:8 | a8 | expression |
21-
| test.cpp:249:3:249:4 | call to f5 | Implicit conversion of plain char $@ to unsigned char from instantiating template 'f5'. | test.cpp:43:56:43:56 | x | expression |
22-
| test.cpp:253:3:253:4 | call to f6 | Implicit conversion of plain char $@ to signed char from instantiating template 'f6'. | test.cpp:44:54:44:54 | x | expression |
23-
| test.cpp:266:3:266:5 | call to f13 | Implicit conversion of plain char $@ to uint8_t from instantiating template 'f13'. | test.cpp:47:56:47:56 | x | expression |
24-
| test.cpp:270:3:270:5 | call to f14 | Implicit conversion of plain char $@ to int8_t from instantiating template 'f14'. | test.cpp:48:55:48:55 | x | expression |
25-
| test.cpp:287:12:287:14 | definition of c11 | Implicit conversion of plain char $@ to unsigned char from instantiating template 'C9<T>'. | test.cpp:52:15:52:15 | y | expression |
26-
| test.cpp:292:13:292:15 | definition of c12 | Implicit conversion of plain char $@ to signed char from instantiating template 'C10<T>'. | test.cpp:60:16:60:16 | y | expression |
27-
| test.cpp:307:13:307:15 | definition of c15 | Implicit conversion of plain char $@ to uint8_t from instantiating template 'C13<T>'. | test.cpp:69:16:69:16 | y | expression |
28-
| test.cpp:311:13:311:15 | definition of c16 | Implicit conversion of plain char $@ to int8_t from instantiating template 'C14<T>'. | test.cpp:77:16:77:16 | y | expression |
1+
| test.cpp:93:7:93:9 | (unsigned char)... | Implicit conversion of plain char $@ to'unsigned char'. | test.cpp:93:7:93:9 | 118 | expression |
2+
| test.cpp:94:21:94:23 | (signed char)... | Implicit conversion of plain char $@ to'signed char'. | test.cpp:94:21:94:23 | 118 | expression |
3+
| test.cpp:102:7:102:9 | (unsigned char)... | Implicit conversion of plain char $@ to'unsigned char'. | test.cpp:102:7:102:9 | 118 | expression |
4+
| test.cpp:103:21:103:23 | (signed char)... | Implicit conversion of plain char $@ to'signed char'. | test.cpp:103:21:103:23 | 118 | expression |
5+
| test.cpp:121:7:121:8 | (unsigned char)... | Implicit conversion of plain char $@ to'unsigned char'. | test.cpp:121:7:121:8 | x3 | expression |
6+
| test.cpp:124:20:124:21 | (signed char)... | Implicit conversion of plain char $@ to'signed char'. | test.cpp:124:20:124:21 | x4 | expression |
7+
| test.cpp:134:21:134:22 | (uint8_t)... | Implicit conversion of plain char $@ to'uint8_t'. | test.cpp:134:21:134:22 | x7 | expression |
8+
| test.cpp:137:20:137:21 | (int8_t)... | Implicit conversion of plain char $@ to'int8_t'. | test.cpp:137:20:137:21 | x8 | expression |
9+
| test.cpp:147:17:147:18 | definition of c3 | Implicit conversion of plain char $@ to'unsigned char' from instantiating template 'C1<T, y>'. | test.cpp:5:12:5:12 | 120 | expression |
10+
| test.cpp:150:17:150:18 | definition of c4 | Implicit conversion of plain char $@ to'signed char' from instantiating template 'C2<T, y>'. | test.cpp:13:12:13:12 | 120 | expression |
11+
| test.cpp:160:15:160:16 | definition of c7 | Implicit conversion of plain char $@ to'uint8_t' from instantiating template 'C5<T, y>'. | test.cpp:22:12:22:12 | 1 | expression |
12+
| test.cpp:163:15:163:16 | definition of c8 | Implicit conversion of plain char $@ to'int8_t' from instantiating template 'C6<T, y>'. | test.cpp:30:12:30:12 | 1 | expression |
13+
| test.cpp:180:7:180:10 | (unsigned char)... | Implicit conversion of plain char $@ to'unsigned char'. | test.cpp:180:7:180:10 | * ... | expression |
14+
| test.cpp:185:7:185:10 | (signed char)... | Implicit conversion of plain char $@ to'signed char'. | test.cpp:185:7:185:10 | * ... | expression |
15+
| test.cpp:200:7:200:10 | (uint8_t)... | Implicit conversion of plain char $@ to'uint8_t'. | test.cpp:200:7:200:10 | * ... | expression |
16+
| test.cpp:205:7:205:10 | (int8_t)... | Implicit conversion of plain char $@ to'int8_t'. | test.cpp:205:7:205:10 | * ... | expression |
17+
| test.cpp:219:6:219:7 | (unsigned char)... | Implicit conversion of plain char $@ to'unsigned char'. | test.cpp:219:6:219:7 | a3 | expression |
18+
| test.cpp:222:6:222:7 | (signed char)... | Implicit conversion of plain char $@ to'signed char'. | test.cpp:222:6:222:7 | a4 | expression |
19+
| test.cpp:232:6:232:7 | (uint8_t)... | Implicit conversion of plain char $@ to'uint8_t'. | test.cpp:232:6:232:7 | a7 | expression |
20+
| test.cpp:235:7:235:8 | (int8_t)... | Implicit conversion of plain char $@ to'int8_t'. | test.cpp:235:7:235:8 | a8 | expression |
21+
| test.cpp:249:3:249:4 | call to f5 | Implicit conversion of plain char $@ to'unsigned char' from instantiating template 'f5'. | test.cpp:43:56:43:56 | x | expression |
22+
| test.cpp:253:3:253:4 | call to f6 | Implicit conversion of plain char $@ to'signed char' from instantiating template 'f6'. | test.cpp:44:54:44:54 | x | expression |
23+
| test.cpp:266:3:266:5 | call to f13 | Implicit conversion of plain char $@ to'uint8_t' from instantiating template 'f13'. | test.cpp:47:56:47:56 | x | expression |
24+
| test.cpp:270:3:270:5 | call to f14 | Implicit conversion of plain char $@ to'int8_t' from instantiating template 'f14'. | test.cpp:48:55:48:55 | x | expression |
25+
| test.cpp:287:12:287:14 | definition of c11 | Implicit conversion of plain char $@ to'unsigned char' from instantiating template 'C9<T>'. | test.cpp:52:15:52:15 | y | expression |
26+
| test.cpp:292:13:292:15 | definition of c12 | Implicit conversion of plain char $@ to'signed char' from instantiating template 'C10<T>'. | test.cpp:60:16:60:16 | y | expression |
27+
| test.cpp:307:13:307:15 | definition of c15 | Implicit conversion of plain char $@ to'uint8_t' from instantiating template 'C13<T>'. | test.cpp:69:16:69:16 | y | expression |
28+
| test.cpp:311:13:311:15 | definition of c16 | Implicit conversion of plain char $@ to'int8_t' from instantiating template 'C14<T>'. | test.cpp:77:16:77:16 | y | expression |

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp