[clang-tools-extra] r325298 - [include-fixer] Add more debug headers to the STL header list

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 15 13:37:29 PST 2018


Author: d0k
Date: Thu Feb 15 13:37:29 2018
New Revision: 325298

URL: http://llvm.org/viewvc/llvm-project?rev=325298&view=rev
Log:
[include-fixer] Add more debug headers to the STL header list

These are used for std::map/std::set in STL debug mode.

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=325298&r1=325297&r2=325298&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 Thu Feb 15 13:37:29 2018
@@ -211,6 +211,10 @@ const HeaderMapCollector::RegexHeaderMap
       {"cwctype$", "<cwctype>"},
       {"cxxabi.h$", "<cxxabi.h>"},
       {"debug/debug.h$", "<numeric>"},
+      {"debug/map.h$", "<map>"},
+      {"debug/multimap.h$", "<multimap>"},
+      {"debug/multiset.h$", "<multiset>"},
+      {"debug/set.h$", "<set>"},
       {"deque$", "<deque>"},
       {"exception$", "<exception>"},
       {"ext/alloc_traits.h$", "<deque>"},




More information about the cfe-commits mailing list