aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkadir çetinkaya <kadircet@google.com>2023-11-13 17:08:19 +0100
committerGitHub <noreply@github.com>2023-11-13 17:08:19 +0100
commit9aefa5cb679a6f42a0d343c93a25a66b0374b3c6 (patch)
tree4841774240f41e94239716927e57b25ee0c1fd06
parent96ef623a7525f71184b6111f8389e45260ef13ff (diff)
downloadllvm-9aefa5cb679a6f42a0d343c93a25a66b0374b3c6.zip
llvm-9aefa5cb679a6f42a0d343c93a25a66b0374b3c6.tar.gz
llvm-9aefa5cb679a6f42a0d343c93a25a66b0374b3c6.tar.bz2
[clangd] Improve sys header mapping (#72122)
-rw-r--r--clang-tools-extra/clangd/index/CanonicalIncludes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
index 9d6c09c..9ba4d7a 100644
--- a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
+++ b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
@@ -668,6 +668,8 @@ const std::pair<llvm::StringRef, llvm::StringRef> IncludeMappings[] = {
{"bits/syslog-path.h", "<sys/syslog.h>"},
{"bits/termios.h", "<termios.h>"},
{"bits/types.h", "<sys/types.h>"},
+ {"bits/types/siginfo_t.h", "<sys/siginfo.h>"},
+ {"bits/types/struct_itimerspec.h", "<sys/time.h>"},
{"bits/uio.h", "<sys/uio.h>"},
{"bits/ustat.h", "<sys/ustat.h>"},
{"bits/utmp.h", "<utmp.h>"},