[clang-tools-extra] r272773 - [include-fixer] Correct two wrong header mappings.

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 04:15:14 PDT 2016


Author: hokein
Date: Wed Jun 15 06:15:12 2016
New Revision: 272773

URL: http://llvm.org/viewvc/llvm-project?rev=272773&view=rev
Log:
[include-fixer] Correct two wrong header mappings.

Reviewers: bkramer

Subscribers: ioeric, cfe-commits

Differential Revision: http://reviews.llvm.org/D21371

Modified:
    clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp

Modified: clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp?rev=272773&r1=272772&r2=272773&view=diff
==============================================================================
--- clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp (original)
+++ clang-tools-extra/trunk/include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp Wed Jun 15 06:15:12 2016
@@ -111,7 +111,7 @@ const HeaderMapCollector::HeaderMap *get
       {"bits/hashtable.h", "<unordered_set>"},
       {"bits/hashtable_policy.h", "<unordered_set>"},
       {"bits/indirect_array.h", "<valarray>"},
-      {"bits/ios_base.h", "<streambuf>"},
+      {"bits/ios_base.h", "<ios>"},
       {"bits/istream.tcc", "<istream>"},
       {"bits/list.tcc", "<list>"},
       {"bits/locale_classes.h", "<locale>"},
@@ -171,7 +171,7 @@ const HeaderMapCollector::HeaderMap *get
       {"bits/stl_vector.h", "<vector>"},
       {"bits/stream_iterator.h", "<iterator>"},
       {"bits/streambuf.tcc", "<streambuf>"},
-      {"bits/streambuf_iterator.h", "<locale>"},
+      {"bits/streambuf_iterator.h", "<iterator>"},
       {"bits/stringfwd.h", "<string>"},
       {"bits/unique_ptr.h", "<memory>"},
       {"bits/unordered_map.h", "<unordered_map>"},




More information about the cfe-commits mailing list