forked from OSchip/llvm-project
[clangd] A few more fixes for STL header mapping.
llvm-svn: 326325
This commit is contained in:
parent
7260932459
commit
06d4181140
|
@ -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>"},
|
||||
|
|
Loading…
Reference in New Issue