Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Side by Side Diff: tools/clang/plugins/tests/ipc.txt

Issue 1785523002: Fix tests for check-ipc Clang plugin to pass on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adjust error counts Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/clang/plugins/tests/ipc.flags ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ipc.cpp:83:26: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'. 1 ipc.cpp:83:26: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
2 WriteParam(pickle, p.size); // ERROR 2 WriteParam(pickle, p.size); // ERROR
3 ^ 3 ^
4 ipc.cpp:107:24: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 4 ipc.cpp:107:24: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
5 WriteParam(pickle, static_cast<long>(container.value)); // ERROR 5 WriteParam(pickle, static_cast<long>(container.value)); // ERROR
6 ^ 6 ^
7 ipc.cpp:135:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'. 7 ipc.cpp:135:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
8 IPC::WriteParam(pickle, size_t(0)); // ERROR 8 IPC::WriteParam(pickle, size_t(0)); // ERROR
9 ^ 9 ^
10 ipc.cpp:145:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'time_t'. 10 ipc.cpp:145:29: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'time_t'.
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 ^ 196 ^
197 ipc.cpp:324:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 197 ipc.cpp:324:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
198 IPC::WriteParam(nullptr, p.get<long>()); // ERROR 198 IPC::WriteParam(nullptr, p.get<long>()); // ERROR
199 ^ 199 ^
200 ipc.cpp:325:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 200 ipc.cpp:325:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
201 IPC::WriteParam(nullptr, p.get_long()); // ERROR 201 IPC::WriteParam(nullptr, p.get_long()); // ERROR
202 ^ 202 ^
203 ipc.cpp:326:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'. 203 ipc.cpp:326:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'long'.
204 IPC::WriteParam(nullptr, p.long_data); // ERROR 204 IPC::WriteParam(nullptr, p.long_data); // ERROR
205 ^ 205 ^
206 ipc.cpp:328:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long'. 206 ipc.cpp:331:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
207 IPC::WriteParam(nullptr, p.get<size_t>()); // ERROR
208 ^
209 ipc.cpp:329:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
210 IPC::WriteParam(nullptr, p.get_size()); // ERROR 207 IPC::WriteParam(nullptr, p.get_size()); // ERROR
211 ^ 208 ^
212 ipc.cpp:330:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'. 209 ipc.cpp:332:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t'.
213 IPC::WriteParam(nullptr, p.size_data); // ERROR 210 IPC::WriteParam(nullptr, p.size_data); // ERROR
214 ^ 211 ^
215 ipc.cpp:334:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long'. 212 ipc.cpp:336:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long'.
216 IPC::WriteParam(nullptr, p.get<uint64_t>()); // ERROR 213 IPC::WriteParam(nullptr, p.get<uint64_t>()); // ERROR
217 ^ 214 ^
218 ipc.cpp:339:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long' via 'struct std::vector<unsigned long, struct std::allocat or<unsigned long> >'. 215 ipc.cpp:341:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'unsigned long' via 'struct std::vector<unsigned long, struct std::allocat or<unsigned long> >'.
219 IPC::WriteParam(nullptr, p.get<std::vector<uint64_t>>()); // ERROR 216 IPC::WriteParam(nullptr, p.get<std::vector<uint64_t>>()); // ERROR
220 ^ 217 ^
221 ipc.cpp:346:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t' via 'std::vector<size_t>'. 218 ipc.cpp:348:28: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t' via 'std::vector<size_t>'.
222 IPC::WriteParam(nullptr, p.get_sizes()); // ERROR 219 IPC::WriteParam(nullptr, p.get_sizes()); // ERROR
223 ^ 220 ^
224 ipc.cpp:347:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t' via 'std::vector<size_t>'. 221 ipc.cpp:349:30: error: [chromium-ipc] IPC::WriteParam() is called on blacklisted type 'size_t' via 'std::vector<size_t>'.
225 IPC::WriteParam(nullptr, p.sizes_data); // ERROR 222 IPC::WriteParam(nullptr, p.sizes_data); // ERROR
226 ^ 223 ^
227 42 errors generated. 224 41 errors generated.
OLDNEW
« no previous file with comments | « tools/clang/plugins/tests/ipc.flags ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698