[PATCH] D142101: [clang] [extract-api] Don't crash for category in libclang APIs

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 03:32:07 PST 2023


dang created this revision.
dang added a reviewer: zixuw.
Herald added a subscriber: arphaman.
Herald added a reviewer: ributzka.
Herald added a project: All.
dang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Remove failure conditions for categories in libclang and return empty
content instead.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D142101

Files:
  clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp
  clang/test/Index/extract-api-cursor.m

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142101.490445.patch
Type: text/x-patch
Size: 6148 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230119/19920ddc/attachment-0001.bin>


More information about the cfe-commits mailing list