summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang-tools-extra/clangd/index/CanonicalIncludes.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
index 25339622adf..f807c352aab 100644
--- a/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
+++ b/clang-tools-extra/clangd/index/CanonicalIncludes.cpp
@@ -140,6 +140,7 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"backward/binders.h$", "<string>"},
{"bits/algorithmfwd.h$", "<algorithm>"},
{"bits/alloc_traits.h$", "<unordered_set>"},
+ {"bits/allocated_ptr.h$", "<memory>"},
{"bits/allocator.h$", "<allocator>"},
{"bits/atomic_base.h$", "<atomic>"},
{"bits/atomic_lockfree_defines.h$", "<exception>"},
@@ -171,6 +172,7 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"bits/list.tcc$", "<list>"},
{"bits/locale_classes.h$", "<locale>"},
{"bits/locale_classes.tcc$", "<locale>"},
+ {"bits/locale_conv.h$", "<locale>"},
{"bits/locale_facets.h$", "<locale>"},
{"bits/locale_facets.tcc$", "<locale>"},
{"bits/locale_facets_nonio.h$", "<locale>"},
@@ -183,6 +185,7 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"bits/ostream.tcc$", "<ostream>"},
{"bits/ostream_insert.h$", "<ostream>"},
{"bits/postypes.h$", "<iosfwd>"},
+ {"bits/predefined_ops.h$", "<algorithm>"},
{"bits/ptr_traits.h$", "<memory>"},
{"bits/random.h$", "<random>"},
{"bits/random.tcc$", "<random>"},
@@ -197,8 +200,10 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"bits/regex_nfa.h$", "<regex>"},
{"bits/shared_ptr.h$", "<memory>"},
{"bits/shared_ptr_base.h$", "<memory>"},
+ {"bits/shared_ptr_atomic.h$", "<memory>"},
{"bits/slice_array.h$", "<valarray>"},
{"bits/sstream.tcc$", "<sstream>"},
+ {"bits/std_mutex.h$", "<mutex>"},
{"bits/stl_algo.h$", "<algorithm>"},
{"bits/stl_algobase.h$", "<algorithm>"},
{"bits/stl_bvector.h$", "<vector>"},
@@ -228,6 +233,7 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"bits/streambuf.tcc$", "<streambuf>"},
{"bits/streambuf_iterator.h$", "<iterator>"},
{"bits/stringfwd.h$", "<string>"},
+ {"bits/uniform_int_dist.h$", "<random>"},
{"bits/unique_ptr.h$", "<memory>"},
{"bits/unordered_map.h$", "<unordered_map>"},
{"bits/unordered_set.h$", "<unordered_set>"},
@@ -374,7 +380,7 @@ void addSystemHeadersMapping(CanonicalIncludes *Includes) {
{"bits/atomic_word.h$", "<memory>"},
{"bits/basic_file.h$", "<fstream>"},
{"bits/c\\+\\+allocator.h$", "<string>"},
- {"bits/c\\+\\+config.h$", "<iosfwd>"},
+ {"bits/c\\+\\+config.h$", "<cstddef>"},
{"bits/c\\+\\+io.h$", "<ios>"},
{"bits/c\\+\\+locale.h$", "<locale>"},
{"bits/cpu_defines.h$", "<iosfwd>"},
OpenPOWER on IntegriCloud