Skip to content

Commit e3a19be

Browse files
DaanDeMeyersivan-shani
authored andcommitted
[clang-tools-extra] Add include mappings for <sys/uio.h> (llvm#141216)
1 parent cc7f738 commit e3a19be

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -658,6 +658,7 @@ const HeaderMapCollector::RegexHeaderMap *getSTLPostfixHeaderMap() {
658658
{"bits/syslog-path.h$", "<sys/syslog.h>"},
659659
{"bits/termios.h$", "<termios.h>"},
660660
{"bits/types.h$", "<sys/types.h>"},
661+
{"bits/types/struct_iovec.h$", "<sys/uio.h>"},
661662
{"bits/typesizes.h$", "<sys/types.h>"},
662663
{"bits/uio.h$", "<sys/uio.h>"},
663664
{"bits/ustat.h$", "<sys/ustat.h>"},

clang-tools-extra/clangd/index/CanonicalIncludes.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -674,6 +674,7 @@ const std::pair<llvm::StringRef, llvm::StringRef> IncludeMappings[] = {
674674
{"bits/termios.h", "<termios.h>"},
675675
{"bits/types.h", "<sys/types.h>"},
676676
{"bits/types/siginfo_t.h", "<sys/siginfo.h>"},
677+
{"bits/types/struct_iovec.h", "<sys/uio.h>"},
677678
{"bits/types/struct_itimerspec.h", "<sys/time.h>"},
678679
{"bits/types/struct_rusage.h", "<sys/resource.h>"},
679680
{"bits/uio.h", "<sys/uio.h>"},

0 commit comments

Comments
 (0)