Alexey Serbin has submitted this change and it was merged. Change subject: [iwyu] introduce Linux system mappings ......................................................................
[iwyu] introduce Linux system mappings For starters, added the following mappings to achieve better compatibility across different Linus versions and distros: * use <linux/kernel.h> even if <linux/sysinfo.h> is available * use <sys/vfs.h> even if <sys/statfs.h> is available * use <linux/types.h> as an umbrella header file for various asm types Change-Id: I4e50f9135fa076e429b26e3919ef19eb5d430173 Reviewed-on: http://gerrit.cloudera.org:8080/8071 Reviewed-by: Adar Dembo <[email protected]> Reviewed-by: Andrew Wong <[email protected]> Tested-by: Kudu Jenkins --- M build-support/iwyu/iwyu-filter.awk M build-support/iwyu/iwyu.sh A build-support/iwyu/mappings/system-linux.imp M src/kudu/util/env_posix.cc 4 files changed, 48 insertions(+), 13 deletions(-) Approvals: Andrew Wong: Looks good to me, but someone else must approve Adar Dembo: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/8071 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I4e50f9135fa076e429b26e3919ef19eb5d430173 Gerrit-PatchSet: 4 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Tidy Bot
