[clang-tools-extra] 2103de0 - [clangd] Add header mapping for struct_rusage.h
Kadir Cetinkaya via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 15 05:39:09 PST 2023
Author: Kadir Cetinkaya
Date: 2023-12-15T14:39:02+01:00
New Revision: 2103de0c4cced5d06165a8a8a84cec89c8ab3be0
URL: https://github.com/llvm/llvm-project/commit/2103de0c4cced5d06165a8a8a84cec89c8ab3be0
DIFF: https://github.com/llvm/llvm-project/commit/2103de0c4cced5d06165a8a8a84cec89c8ab3be0.diff
LOG: [clangd] Add header mapping for struct_rusage.h
Added:
Modified:
clang-tools-extra/clangd/index/CanonicalIncludes.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
index 9ba4d7a95415bc..42eeba36a80e43 100644
--- a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
+++ b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
@@ -670,6 +670,7 @@ const std::pair<llvm::StringRef, llvm::StringRef> IncludeMappings[] = {
{"bits/types.h", "<sys/types.h>"},
{"bits/types/siginfo_t.h", "<sys/siginfo.h>"},
{"bits/types/struct_itimerspec.h", "<sys/time.h>"},
+ {"bits/types/struct_rusage.h", "<sys/resource.h>"},
{"bits/uio.h", "<sys/uio.h>"},
{"bits/ustat.h", "<sys/ustat.h>"},
{"bits/utmp.h", "<utmp.h>"},
More information about the cfe-commits
mailing list