[PATCH] D141611: [include-mapping] Print an error message in case the symbol index points to a non-existent page.
Viktoriia Bakalova via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 12 08:00:01 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGed001018a02b: [include-mapping] Print an error message in case the symbol index points to a… (authored by VitaNuo).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D141611/new/
https://reviews.llvm.org/D141611
Files:
clang/tools/include-mapping/cppreference_parser.py
Index: clang/tools/include-mapping/cppreference_parser.py
===================================================================
--- clang/tools/include-mapping/cppreference_parser.py
+++ clang/tools/include-mapping/cppreference_parser.py
@@ -145,6 +145,9 @@
if os.path.isfile(path):
results.append((symbol_name,
pool.apply_async(_ReadSymbolPage, (path, symbol_name))))
+ else:
+ sys.stderr.write("Discarding information for symbol: %s. Page %s does not exist.\n"
+ % (symbol_name, path))
# Build map from symbol name to a set of headers.
symbol_headers = collections.defaultdict(set)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141611.488660.patch
Type: text/x-patch
Size: 671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230112/c2282f0a/attachment.bin>
More information about the cfe-commits
mailing list