diff --git a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc index 165c1fc2eebc2..0d351d688a329 100644 --- a/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc +++ b/clang/lib/Tooling/Inclusions/Stdlib/StdSpecialSymbolMap.inc @@ -367,6 +367,16 @@ SYMBOL(any_cast, std::, ) SYMBOL(div, std::, ) SYMBOL(abort, std::, ) +// These are C symbols that are not under std namespace. +SYMBOL(localtime_r, None, ) +SYMBOL(localtime_r, None, ) +SYMBOL(localtime_s, None, ) +SYMBOL(localtime_s, None, ) +SYMBOL(gmtime_r, None, ) +SYMBOL(gmtime_r, None, ) +SYMBOL(gmtime_s, None, ) +SYMBOL(gmtime_s, None, ) + // The std::placeholder symbols (_1, ..., _N) are listed in the cppreference // placeholder.html, but the index only contains a single entry with "_1, _2, ..., _N" // text, which are not handled by the script.