[clang-tools-extra] r326325 - [clangd] A few more fixes for STL header mapping.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 06:02:18 PST 2018
Author: ioeric
Date: Wed Feb 28 06:02:18 2018
New Revision: 326325
URL: http://llvm.org/viewvc/llvm-project?rev=326325&view=rev
Log:
[clangd] A few more fixes for STL header mapping.
Modified:
clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
Modified: clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp?rev=326325&r1=326324&r2=326325&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp Wed Feb 28 06:02:18 2018
@@ -140,6 +140,7 @@ void addSystemHeadersMapping(CanonicalIn
{"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(CanonicalIn
{"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(CanonicalIn
{"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(CanonicalIn
{"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(CanonicalIn
{"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(CanonicalIn
{"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>"},
More information about the cfe-commits
mailing list