diff --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc --- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc +++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc @@ -347,6 +347,10 @@ // which is tricky to disambiguate without type information. // Don't set any header for it, as it comes with the type header. SYMBOL(get, std::, /*no headers*/) +// Similarly make_error_code also has different overloads (errc, io_errc, +// future_errc) and each of them are provided by relevant headers providing the +// type. +SYMBOL(make_error_code, std::, /*no headers*/) // cppreference symbol index page was missing these symbols. // Remove them when the cppreference offline archive catches up.