[PATCH] D21371: [include-fixer] Correct two wrong header mappings.

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


hokein created this revision.
hokein added a reviewer: bkramer.
hokein added subscribers: cfe-commits, ioeric.

http://reviews.llvm.org/D21371

Files:
  include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp

Index: include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
===================================================================
--- include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
+++ include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
@@ -111,7 +111,7 @@
       {"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 @@
       {"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>"},


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21371.60812.patch
Type: text/x-patch
Size: 1017 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160615/75f33f79/attachment.bin>


More information about the cfe-commits mailing list