Trass3r added inline comments.

================
Comment at: clang-tools-extra/clangd/InlayHints.cpp:315
+      addTypeHint(D->getLocation(),
+                  llvm::cast<DecltypeType>(T)->getUnderlyingType(),
+                  /*Prefix=*/": ");
----------------
Should use dyn_cast instead of is+cast I think.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D138300

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

Reply via email to