- Prefer cstddef over cstring for size_t definition - fewer overall definitions
- Include cstring where used, and note which definitions are used
Fixes #13581
Fewest overall definitions of the headers which provide it.
Ran this through iwyu to confirm computationally that the relevant files were being locally referenced. See the output for master: https://gist.githubusercontent.com/Empact/889c787e1d9d45656d6cdfa2de6a917d/raw/fb1793cf4cd003d0ab0f196dd5c698451dc6290f/iwyu_master And this PR: https://gist.githubusercontent.com/Empact/889c787e1d9d45656d6cdfa2de6a917d/raw/fb1793cf4cd003d0ab0f196dd5c698451dc6290f/iwyu_cstring
Note the changes were identified independent of iwyu, via grepping.
Labels
Refactoring