[PATCH] D141509: [include-mapping] Fix parsing of html_book_20190607.zip (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.

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 12 07:25:13 PST 2023


kadircet added inline comments.


================
Comment at: clang/tools/include-mapping/cppreference_parser.py:145
       path = os.path.join(root_dir, symbol_page_path)
-      results.append((symbol_name,
+      if os.path.isfile(path):
+        results.append((symbol_name,
----------------
sorry for being late to the party, but can you also print an error in the case we're dropping the symbol?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141509/new/

https://reviews.llvm.org/D141509



More information about the cfe-commits mailing list