[PATCH] D122774: [clang][extract-api] Add Objective-C Category support

Daniel Grumberg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 4 05:32:18 PDT 2022


dang added inline comments.


================
Comment at: clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp:396
     break;
+  case APIRecord::RK_ObjCCategory:
+    Kind["identifier"] = AddLangPrefix("category");
----------------
Since we currently never actually emit a standalone category symbol object, should we not just label this as `llvm_unreachable` with a comment explaining why that is?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D122774



More information about the cfe-commits mailing list