njames93 added a comment.

I'm not an objc guy, but can you add a test case demonstrating class(?) methods 
showing as `+name:`?



================
Comment at: clang-tools-extra/clangd/AST.cpp:224-226
+  if (const ObjCContainerDecl *C = dyn_cast<ObjCContainerDecl>(&ND))
+    return printObjCContainer(*C);
+  if (const ObjCMethodDecl *Method = dyn_cast<ObjCMethodDecl>(&ND)) {
----------------
nit: Can make these `const auto *` as the type is spelt in the initialisation.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D96612

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to