mirror of
https://github.com/saymrwulf/pytorch.git
synced 2026-05-14 20:57:59 +00:00
Reland https://github.com/pytorch/pytorch/pull/101178 to use IWYU on torch_cpu. The header file changes are excluded to avoid breaking internal jobs. Pull Request resolved: https://github.com/pytorch/pytorch/pull/112311 Approved by: https://github.com/ezyang
8 lines
444 B
Text
8 lines
444 B
Text
# Toolchain-specific mappings. These ones seem to be missing from iwyu defaults
|
|
[
|
|
{ include: [ "<bits/struct_stat.h>", private, "<sys/stat.h>", public ] },
|
|
{ include: [ "<bits/pthreadtypes.h>", private, "<pthread.h>", public ] },
|
|
{ include: [ "<bits/refwrap.h>", private, "<reference_wrapper>", public ] },
|
|
{ symbol: [ "size_t", private, "<cstddef>", public ] },
|
|
{ symbol: [ "ptrdiff_t", private, "<cstddef>", public ] },
|
|
]
|