ckandeler added inline comments.

================
Comment at: clang-tools-extra/clangd/SemanticHighlighting.cpp:847-849
+            } else if (const auto Iface =
+                           dyn_cast<const ObjCInterfaceDecl>(Decl)) {
+              if (Iface->isThisDeclarationADefinition())
----------------
dgoldman wrote:
> Do we need similar code for ObjCProtocolDecl? Also should ObjCImplDecl be 
> considered definitions here?
Possibly. I know next to nothing about Objective C, so I'll just do as I'm told 
here. On a related note, the code above regarding ObjCMethodDecl does not seem 
to do anything, i.e. none of the constructs that to my eye appear to be 
Objective-C methods get the "def" modifier. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D127403

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

Reply via email to