This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Mock system headers for portability-restrict-system-includes tests.
ClosedPublic

Authored by PaulkaToast on Mar 11 2020, 11:16 AM.

Details

Summary

Didn't realize that headers such as stddef.h may not exist on all systems. This patch mocks the headers so that the check's tests work on all systems. (:

Diff Detail

Event Timeline

PaulkaToast created this revision.Mar 11 2020, 11:16 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 11 2020, 11:16 AM
This revision is now accepted and ready to land.Mar 11 2020, 11:24 AM
This revision was automatically updated to reflect the committed changes.