[clang] [Tooling/Inclusion] Update std symbol mapping (PR #118174)

Vadim D. via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 30 07:32:17 PST 2024


================
@@ -1241,8 +1254,7 @@ SYMBOL(fgetwc, None, <wchar.h>)
 SYMBOL(fgetws, std::, <cwchar>)
 SYMBOL(fgetws, None, <cwchar>)
 SYMBOL(fgetws, None, <wchar.h>)
-SYMBOL(filebuf, std::, <streambuf>)
-SYMBOL(filebuf, std::, <iostream>)
+SYMBOL(filebuf, std::, <fstream>)
----------------
vvd170501 wrote:

Previous versions of cppreference mentioned incorrect headers for `filebuf` and `wfilebuf`.
`<fstream>` is the correct one: https://eel.is/c++draft/fstream.syn#lib:filebuf

https://github.com/llvm/llvm-project/pull/118174


More information about the cfe-commits mailing list