mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01: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
9 lines
444 B
Plaintext
9 lines
444 B
Plaintext
# 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 ] },
|
|
]
|