From 0db08e59c9d2d3b004ea61f96d823edff283ed25 Mon Sep 17 00:00:00 2001 From: Benjamin Kramer Date: Sat, 10 Oct 2020 14:13:42 +0200 Subject: [PATCH] [clangd] Map bits/stdint-intn.h and bits/stdint-uintn.h to cstdint. These are private glibc headers containing parts of the implementation of stdint.h. --- clang-tools-extra/clangd/index/CanonicalIncludes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp index 120f121..a63a6bd 100644 --- a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp +++ b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp @@ -420,6 +420,8 @@ void CanonicalIncludes::addSystemHeadersMapping(const LangOptions &Language) { {"bits/signum.h", ""}, {"bits/sigset.h", ""}, {"bits/sigstack.h", ""}, + {"bits/stdint-intn.h", ""}, + {"bits/stdint-uintn.h", ""}, {"bits/stdio_lim.h", ""}, {"bits/sys_errlist.h", ""}, {"bits/time.h", ""}, -- 2.7.4