Skip to content

Commit 2f84d86

Browse files
committed
[clang-tools-extra] Add include mappings for <sys/timex.h>
1 parent bca39f4 commit 2f84d86

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
@@ -654,6 +654,7 @@ const HeaderMapCollector::RegexHeaderMap *getSTLPostfixHeaderMap() {
654654
{"bits/syscall.h$", "<sys/syscall.h>"},
655655
{"bits/syslog-path.h$", "<sys/syslog.h>"},
656656
{"bits/termios.h$", "<termios.h>"},
657+
{"bits/timex.h$", "<sys/timex.h>"},
657658
{"bits/types.h$", "<sys/types.h>"},
658659
{"bits/typesizes.h$", "<sys/types.h>"},
659660
{"bits/uio.h$", "<sys/uio.h>"},

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -669,6 +669,7 @@ const std::pair<llvm::StringRef, llvm::StringRef> IncludeMappings[] = {
669669
{"bits/syscall.h", "<sys/syscall.h>"},
670670
{"bits/syslog-path.h", "<sys/syslog.h>"},
671671
{"bits/termios.h", "<termios.h>"},
672+
{"bits/timex.h", "<sys/timex.h>"},
672673
{"bits/types.h", "<sys/types.h>"},
673674
{"bits/types/siginfo_t.h", "<sys/siginfo.h>"},
674675
{"bits/types/struct_itimerspec.h", "<sys/time.h>"},

0 commit comments

Comments
 (0)