[clang-tools-extra] 40276f7 - [include-fixer] Add the missing variant header to the STL header list.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 13 03:09:48 PDT 2023
Author: Haojian Wu
Date: 2023-04-13T12:09:36+02:00
New Revision: 40276f78fd4dabc4368724c161ca918d6145ef75
URL: https://github.com/llvm/llvm-project/commit/40276f78fd4dabc4368724c161ca918d6145ef75
DIFF: https://github.com/llvm/llvm-project/commit/40276f78fd4dabc4368724c161ca918d6145ef75.diff
LOG: [include-fixer] Add the missing variant header to the STL header list.
Added:
Modified:
clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
Removed:
################################################################################
diff --git a/clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp b/clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
index 122d2df1f1398..5245243bac081 100644
--- a/clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
+++ b/clang-tools-extra/clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp
@@ -267,6 +267,7 @@ const HeaderMapCollector::RegexHeaderMap *getSTLPostfixHeaderMap() {
{"unordered_set$", "<unordered_set>"},
{"utility$", "<utility>"},
{"valarray$", "<valarray>"},
+ {"variant$", "<variant>"},
{"vector$", "<vector>"},
{"include/complex.h$", "<complex.h>"},
{"include/ctype.h$", "<cctype>"},
More information about the cfe-commits
mailing list