Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| clang/tools/include-mapping/cppreference_parser.py | ||
|---|---|---|
| 118 | so the input path can be invalid, pointing to a non-existing file, I'd just check it in the caller side, see my other comment. | |
| 144 | I think just adding a file-existing check would work: if os.path.isfile(path):
results.append((symbol_name,
pool.apply_async(_ReadSymbolPage, (path, symbol_name)))) | |
Comment Actions
Thanks for the review!
| clang/tools/include-mapping/cppreference_parser.py | ||
|---|---|---|
| 118 | good idea! | |
| clang/tools/include-mapping/cppreference_parser.py | ||
|---|---|---|
| 145 | sorry for being late to the party, but can you also print an error in the case we're dropping the symbol? | |
| clang/tools/include-mapping/cppreference_parser.py | ||
|---|---|---|
| 145 | ||
so the input path can be invalid, pointing to a non-existing file, I'd just check it in the caller side, see my other comment.