DescriptionCheck IPC messages for banned types on ChromeOS.
This change enables check-ipc option for find-bad-constructs Clang
plugin on ChromeOS (in addition to Linux and Android). With that
option Clang plugin will check that the following types are not used
in IPC messages:
1. Types: long / unsigned long (but not typedefs to)
2. Typedefs: intmax_t, uintmax_t, intptr_t, uintptr_t, wint_t, size_t,
rsize_t, ssize_t, ptrdiff_t, dev_t, off_t, clock_t, time_t, suseconds_t
(including typedefs to)
3. Any template referencing the above (e.g. std::vector<size_t>)
BUG=581409
Committed: https://crrev.com/5bce05dfcc21c872c5ae4909ccb35780360dfc66
Cr-Commit-Position: refs/heads/master@{#391328}
Patch Set 1 #Patch Set 2 : Exclude chromecast #
Messages
Total messages: 13 (8 generated)
|