From aa3e85a812a0d448ec8afd960ed4f17a4806261e Mon Sep 17 00:00:00 2001 From: Haojian Wu Date: Mon, 6 Mar 2023 10:33:54 +0100 Subject: [PATCH] [include-fixer] Add the missing optional header to the STL header list. --- .../clang-include-fixer/find-all-symbols/STLPostfixHeaderMap.cpp | 1 + 1 file changed, 1 insertion(+) 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 0d0bbd9f0555..122d2df1f139 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 @@ -243,6 +243,7 @@ const HeaderMapCollector::RegexHeaderMap *getSTLPostfixHeaderMap() { {"mutex$", ""}, {"new$", ""}, {"numeric$", ""}, + {"optional$", ""}, {"ostream$", ""}, {"queue$", ""}, {"random$", ""},