[clang] 83c5040 - [include-mapping] Fix the instructions for running stdlib recognizer. Mention python command explicitly. Remove angle brackets.
Viktoriia Bakalova via cfe-commits
cfe-commits at lists.llvm.org
Wed Jan 11 03:36:22 PST 2023
Author: Viktoriia Bakalova
Date: 2023-01-11T11:35:53Z
New Revision: 83c5040f6f3234a1fbf705b4aebe3ec1cf9d3bf6
URL: https://github.com/llvm/llvm-project/commit/83c5040f6f3234a1fbf705b4aebe3ec1cf9d3bf6
DIFF: https://github.com/llvm/llvm-project/commit/83c5040f6f3234a1fbf705b4aebe3ec1cf9d3bf6.diff
LOG: [include-mapping] Fix the instructions for running stdlib recognizer. Mention python command explicitly. Remove angle brackets.
Differential Revision: https://reviews.llvm.org/D141477
Added:
Modified:
clang/tools/include-mapping/gen_std.py
Removed:
################################################################################
diff --git a/clang/tools/include-mapping/gen_std.py b/clang/tools/include-mapping/gen_std.py
index f3dabe13471fb..f494ff0b88679 100755
--- a/clang/tools/include-mapping/gen_std.py
+++ b/clang/tools/include-mapping/gen_std.py
@@ -24,13 +24,13 @@
https://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-beautiful-soup
2. Download cppreference offline HTML files (e.g. html_book_20181028.zip) at
https://en.cppreference.com/w/Cppreference:Archives
- 3. Unzip the zip file from step 2 to directory </cppreference>, you should
- get a "reference" directory in </cppreference>
+ 3. Unzip the zip file from step 2 (e.g., to a "cppreference" directory). You should
+ get a "cppreference/reference" directory.
4. Run the command:
// Generate C++ symbols
- gen_std.py -cppreference </cppreference/reference> -language=cpp > StdSymbolMap.inc
+ python3 gen_std.py -cppreference cppreference/reference -language=cpp > StdSymbolMap.inc
// Generate C symbols
- gen_std.py -cppreference </cppreference/reference> -language=c > CSymbolMap.inc
+ python3 gen_std.py -cppreference cppreference/reference -language=c > CSymbolMap.inc
"""
More information about the cfe-commits
mailing list