cmake/Utilities/ClangTidyModule/Tests/cmake-string-concatenation-use-cmstrcat-stdout.txt

125 lines
8.0 KiB
Plaintext
Raw Normal View History

2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:17:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
17 | concat = a + b;
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:17:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:17:14: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
17 | concat = a + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:17:17: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
17 | concat = a + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:18:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
18 | concat = a + " and this is a string literal";
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:18:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:18:14: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
18 | concat = a + " and this is a string literal";
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:18:47: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
18 | concat = a + " and this is a string literal";
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:19:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
19 | concat = a + 'O';
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:19:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:19:14: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
19 | concat = a + 'O';
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:19:19: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
19 | concat = a + 'O';
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:20:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
20 | concat = "This is a string literal" + b;
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:20:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:20:39: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
20 | concat = "This is a string literal" + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:20:42: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
20 | concat = "This is a string literal" + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:21:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
21 | concat = 'O' + a;
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:21:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:21:16: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
21 | concat = 'O' + a;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:21:19: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
21 | concat = 'O' + a;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:22:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
22 | concat = a + " and this is a string literal" + 'O' + b;
| ^ ~ ~ ~
| cmStrCat( , , , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:22:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:22:14: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
22 | concat = a + " and this is a string literal" + 'O' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:22:48: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
22 | concat = a + " and this is a string literal" + 'O' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:22:54: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
22 | concat = a + " and this is a string literal" + 'O' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:22:57: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
22 | concat = a + " and this is a string literal" + 'O' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:24:10: warning: use cmStrCat() instead of string append [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
24 | concat += b;
| ^~
| = cmStrCat(concat, )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:24:10: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:24:14: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
24 | concat += b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:25:10: warning: use cmStrCat() instead of string append [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
25 | concat += " and this is a string literal";
| ^~
| = cmStrCat(concat, )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:25:10: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:25:44: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
25 | concat += " and this is a string literal";
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:26:10: warning: use cmStrCat() instead of string append [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
26 | concat += 'o';
| ^~
| = cmStrCat(concat, )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:26:10: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:26:16: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
26 | concat += 'o';
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:27:10: warning: use cmStrCat() instead of string append [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
27 | concat += b + " and this is a string literal " + 'o' + b;
| ^~ ~ ~ ~
| = cmStrCat(concat, , , , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:27:10: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:27:15: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
27 | concat += b + " and this is a string literal " + 'o' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:27:50: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
27 | concat += b + " and this is a string literal " + 'o' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:27:56: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
27 | concat += b + " and this is a string literal " + 'o' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:27:59: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
27 | concat += b + " and this is a string literal " + 'o' + b;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:30:12: warning: use cmStrCat() instead of string concatenation [cmake-string-concatenation-use-cmstrcat]
2023-12-07 09:12:54 +01:00
30 | concat = p.first + p.second;
| ^ ~
| cmStrCat( , )
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:30:12: note: FIX-IT applied suggested code changes
cmake-string-concatenation-use-cmstrcat.cxx:30:20: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
30 | concat = p.first + p.second;
| ^
2023-05-23 16:38:00 +02:00
cmake-string-concatenation-use-cmstrcat.cxx:30:30: note: FIX-IT applied suggested code changes
2023-12-07 09:12:54 +01:00
30 | concat = p.first + p.second;
| ^