[clang-tools-extra] r326310 - [clangd] A few minor fixes for STL internal header mapping.
Eric Liu via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 28 00:56:11 PST 2018
Author: ioeric
Date: Wed Feb 28 00:56:11 2018
New Revision: 326310
URL: http://llvm.org/viewvc/llvm-project?rev=326310&view=rev
Log:
[clangd] A few minor fixes for STL internal 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=326310&r1=326309&r2=326310&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp (original)
+++ clang-tools-extra/trunk/clangd/index/CanonicalIncludes.cpp Wed Feb 28 00:56:11 2018
@@ -140,7 +140,7 @@ void addSystemHeadersMapping(CanonicalIn
{"backward/binders.h$", "<string>"},
{"bits/algorithmfwd.h$", "<algorithm>"},
{"bits/alloc_traits.h$", "<unordered_set>"},
- {"bits/allocator.h$", "<string>"},
+ {"bits/allocator.h$", "<allocator>"},
{"bits/atomic_base.h$", "<atomic>"},
{"bits/atomic_lockfree_defines.h$", "<exception>"},
{"bits/basic_ios.h$", "<ios>"},
@@ -200,12 +200,12 @@ void addSystemHeadersMapping(CanonicalIn
{"bits/slice_array.h$", "<valarray>"},
{"bits/sstream.tcc$", "<sstream>"},
{"bits/stl_algo.h$", "<algorithm>"},
- {"bits/stl_algobase.h$", "<list>"},
+ {"bits/stl_algobase.h$", "<algorithm>"},
{"bits/stl_bvector.h$", "<vector>"},
{"bits/stl_construct.h$", "<deque>"},
{"bits/stl_deque.h$", "<deque>"},
- {"bits/stl_function.h$", "<string>"},
- {"bits/stl_heap.h$", "<queue>"},
+ {"bits/stl_function.h$", "<functional>"},
+ {"bits/stl_heap.h$", "<heap>"},
{"bits/stl_iterator.h$", "<iterator>"},
{"bits/stl_iterator_base_funcs.h$", "<iterator>"},
{"bits/stl_iterator_base_types.h$", "<numeric>"},
More information about the cfe-commits
mailing list