hokein added inline comments.

================
Comment at: clang-tools-extra/clangd/InlayHints.cpp:140
   for (const Expr *Init : Sem->inits()) {
+    if (!Init)
+      continue;
----------------
kadircet wrote:
> we should have this bail out after introducing the scope_exit below to make 
> sure we skip the field.
good catch! You're right. 


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D131696

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

Reply via email to