summaryrefslogtreecommitdiff
path: root/clang/tools/include-mapping/cppreference_parser.py
AgeCommit message (Collapse)Author
2024-12-31[Tooling/Inclusion] Modify the Python script to open the C++ reference with ↵c8ef
UTF-8 encoding. (#121341) This will prevent the error on systems with a default encoding other than utf-8. ``` UnicodeDecodeError: 'gbk' codec can't decode byte 0xb6 in position 12958: illegal multibyte sequence ```
2024-11-04[Tooling/Inclusion] Update std symbols mapping (#113612)Vadim D.
Fixes #113494
2023-09-12[include-mapping] Python fixesCassie Jones
- Move the multiprocessing.Pool initializer to a top-level function, it was previously causing a pickle failure with my machine's python. - Change the `env python` to `env python3` for convenience
2023-05-23[NFC][Py Reformat] Reformat python files in clang and clang-tools-extraTobias Hieta
This is an ongoing series of commits that are reformatting our Python code. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: MatzeB Differential Revision: https://reviews.llvm.org/D150761
2023-02-09[include-mapping] Add C-compatibility symbol entries.Haojian Wu
Extending the python generator: - to generate C-compatibility symbols - to generate macros Differential Revision: https://reviews.llvm.org/D143214
2023-02-07[include-mapping] Regenerate the StdSymbolMap.inc from the 20220730 html book.Viktoriia Bakalova
Merge the zoombie names into the StdSymbols as well. Differential Revision: https://reviews.llvm.org/D143054
2023-01-12[include-mapping] Print an error message in case the symbol index points to ↵Viktoriia Bakalova
a non-existent page. Fix: https://github.com/llvm/llvm-project/issues/59610 Differential Revision: https://reviews.llvm.org/D141611
2023-01-12[include-mapping] Fix parsing of html_book_20190607.zip ↵Viktoriia Bakalova
(https://en.cppreference.com/w/File:html_book_20190607.zip). Skip entries that have been added to the index (C++20 symbols), but the corresponding pages for which have not been created yet. Differential Revision: https://reviews.llvm.org/D141509
2022-02-09[clangd] NFC: Move stdlib headers handling to ClangKirill Bobyrev
This will allow moving the IncludeCleaner library essentials to Clang and decoupling them from the majority of clangd. The patch itself just moves the code, it doesn't change existing functionality. Reviewed By: sammccall Differential Revision: https://reviews.llvm.org/D119130